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

Stephan Kulow coolo at kde.org
Sun Nov 6 10:10:33 GMT 2005


On Sunday 06 November 2005 11:06, Christian Ehrlicher wrote:
>
> The problem here is based on this discussion:
> http://lists.kde.org/?l=kde-core-devel&m=113061009510075&w=2
> 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

Greetings, Stephan

-- 
Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平
Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch
Shanti Vrede Baris Rój Mír Taika Rongo Sulh Py'guapy 평화




More information about the kde-core-devel mailing list