win32 build stops with linker error
Peter Kümmel
syntheticpp at gmx.net
Wed Feb 15 15:34:01 CET 2006
Thiago Macieira wrote:
> David Faure wrote:
>>> But then you should use KDE_EXPORT instead!
>> For unix KIO_EXPORT or KDE_EXPORT is the same, so I'll trust you to use
>> whichever works for the Windows side, I'm just surprised that all libs
>> reading that .h would think that they need to export the symbol
>> again...
>
> They're weak symbols. The dynamic linker chooses one copy (any of them) of
> the symbol and that's it.
>
> And about templates, they won't be exported on ELF platforms unless used
> -- and then only those symbols that were used.
>
> For instance, libQtCore.so exports a total of 0 QMap symbols.
If it makes no sense for Gcc & Co. I've no problem ifdefing the line,
but msvc needs it.
Peter
More information about the Kde-buildsystem
mailing list