msvc: qHash

Peter Kümmel syntheticpp at gmx.net
Thu May 11 19:23:33 CEST 2006


Christian Ehrlicher wrote:
> David Faure schrieb:
>> On Thursday 11 May 2006 18:36, Peter Kümmel wrote:
>>> David Faure wrote:
>>>> I'm confused. This file doesn't use QHash/QSet at all, so why is a QHash implementation needed?
>>>> Is it due to some other file hashing KSortableItems?
>>>>
>>> Yes, compiling stops there because it couldn't find a qHash function with the correct argument.
>> Where's "there"? I am quite confused as to why any code would try to hash KSortableItem or KSortableList.
>>
>> Do you mean that even kdecore/tests/ksortablelisttest doesn't compile?
>>
> http://marc.theaimsgroup.com/?l=kde-core-devel&m=113126965312032&w=2
> 
> Christian
> 

Oh, I see. But I think in this case it is better to use the
template version than to define multiple qHash functions.

And how does GCC handle such code?

Peter


More information about the Kde-buildsystem mailing list