kdeinit compiled with gcc 4.0.1 & visibility busted at runtime

Dirk Mueller mueller at kde.org
Mon Jul 18 09:51:58 BST 2005


On Sunday 17 July 2005 22:57, David Faure wrote:

> +                $lines .= "\techo 'extern \"C\" KDE_EXPORT int kdemain(int
> argc, char* argv[]);'

ehm, thats just a declaration.. no need to KDE_EXPORT it (doesn't do anything 
anyway). 

the KDE_EXPORT'ing the kdeinitmain definition of course is correct and should 
suffice to fix this bug. 

And it wasn't noticed because its a FreeBSD specific workaround and FreeBSD 
usually uses really old compilers..

-- 
Dirk//\




More information about the kde-core-devel mailing list