Static functions
Thiago Macieira
thiago.macieira at kdemail.net
Mon Jan 12 17:45:59 GMT 2004
David Leimbach wrote:
> And the KDE macros
>listed below do the correct stuff for gcc anyway. What about other
>compilers?
>> And here comes the fun part: there are macros for those defined in
>> kdemacros.h:
>> #define KDE_NO_EXPORT __attribute__ ((visibility("hidden")))
>> #define KDE_EXPORT __attribute__ ((visibility("visible")))
>> #define KDE_PACKED __attribute__((__packed__))
>> # define KDE_DEPRECATED __attribute__ ((deprecated))
It's just a matter of finding the correct keywords for the other
compilers and update kdemacros.h accordingly.
If anyone can get that, it will be a nice addition to KDE 3.3.
--
Thiago Macieira - Registered Linux user #65028
thiagom (AT) mail (dot) com
ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040112/b941dfb8/attachment.sig>
More information about the kde-core-devel
mailing list