[PATCH] add dummy operator== and dummy qHash for win32 target

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Nov 6 10:58:26 GMT 2005

Stephan Kulow schrieb:

> On Sunday 06 November 2005 11:06, Christian Ehrlicher wrote:
>>The problem here is based on this discussion:
>>I can make them private or mask them with an '#if MAKE_KDEUI_LIB' to
>>avoid caling them from outside the lib. But with gcc you can call them
>>too (and you'll get a linker error that gcc can't auto-create the
>>operator) because the operator comes from QList<T>.
> But it won't be possible to create a QList<T> if the operator== is private
I've now put a '#ifdef MAKE_KDECORE_LIB' around to avoid using it
outside the lib.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdecore.patch
Type: text/x-diff
Size: 2320 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051106/0b0b9764/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051106/0b0b9764/attachment.sig>

More information about the kde-core-devel mailing list