kdeinit compiled with gcc 4.0.1 & visibility busted at runtime

Dirk Mueller mueller at kde.org
Mon Jul 18 12:27:15 BST 2005


On Monday 18 July 2005 13:13, Thiago Macieira wrote:

> The KDE_EXPORT attribute takes effect even on the declaration.

No. 


> In fact, given old gcc versions' behaviour, the preferred way of
> implementing an exported function is:

Its not implemented. its an extern declaration (in fact just the extern is 
missing, but I'm not sure if extern "C" extern void foo(); is swallowed by 
all compilers). 


-- 
Dirk//\




More information about the kde-core-devel mailing list