kdeinit compiled with gcc 4.0.1 & visibility busted at runtime
Michael Nottebrock
lofi at freebsd.org
Mon Jul 18 14:51:21 BST 2005
On Monday, 18. July 2005 10:51, Dirk Mueller wrote:
> 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..
Only FreeBSD 4 uses a really old compiler (because it's really old). :)
FreeBSD 5 currently ships gcc 3.4.2, FreeBSD 6 ships 3.4.4. And I do kinda
wonder what makes this issue FreeBSD specific, too (or rather, why did that
work in Linux at all before).
--
,_, | Michael Nottebrock | lofi at freebsd.org
(/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
\u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050718/4d3df89c/attachment.sig>
More information about the kde-core-devel
mailing list