Win32 exports

Thiago Macieira thiago.macieira at trolltech.com
Tue Apr 25 12:58:36 PDT 2006


Kosina, Martin wrote:
>Options:
>
>A) Go with something like DBUS_API (evaluates to either
>dllexport,dllimport on Win32, nothing on Linux/Posix.

It can expand to __attribute__((visibility("default"))) with gcc 4.x (and 
patched 3.4.x). This would allow us to compile libdbus-1 
with -fvisibility=hidden and hide the non-public part of the API from the 
ELF dynamic symbol section.

-- 
Thiago José Macieira - thiago.macieira AT trolltech.com
Trolltech AS - Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20060425/2b717ff4/attachment.pgp


More information about the dbus mailing list