Patch for dcop & win32

Thiago Macieira thiago at kde.org
Sun Oct 16 22:42:15 CEST 2005


Jarosław Staniek wrote:
>Non-win32 define for KDEICE_EXPORT could go to kdecore/kdelibs_export.h,
> right?

Why? Leave it all in one place. Either in kdelibs_export.h or in 
KDE-ICE.h, but not both.

Let me take the opportunity to understand something about DLLs on Windows: 
does at least one compiler require you to specify each and every 
dllimport and dllexport? Isn't there a switch to "export everything 
defined and import everything not defined"? Or at the very least to 
"import everything not defined"?

This will impose a serious problem for KDE libraries because:
a) we have a great deal of them
b) our developers aren't aware of this need and will therefore use the 
wrong macros
c) bksys will have to define a macro for each target being built, just 
like MSVC

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde 
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20051016/f913a03f/attachment-0001.pgp


More information about the Kde-buildsystem mailing list