msvc: qHash
David Faure
faure at kde.org
Thu May 11 19:35:49 CEST 2006
On Thursday 11 May 2006 19:23, Peter Kümmel wrote:
> 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?
gcc doesn't instanciate QList::toSet unless the code is calling it.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list