[Patch] fix compile kdeui with msvc

Simon Hausmann hausmann at kde.org
Tue Nov 1 07:07:33 CET 2005


On Monday 31 October 2005 21:12, Thiago Macieira wrote:
> David Faure wrote:
> >Looks good to me. I see no reason against having this activated by
> > default, it will be useful in all svn modules.
>
> This will help trying out visibility("protected"). There are two
> requirements:
>
> 1) setting protected only when building -- the importing is still
> "default"
>
> 2) it only works in "pure" texts: -fPIE, -fPIC, shared libraries (by
> extension, kdeinit and ioslaves). Otherwise, ELF mandates that global
> variables used by the application (e.g., QCoreApplication::self) be
> located in the application binary.
>
> So far, I haven't managed yet to get past step #1.

And given that we /never/ know whether people build their apps PIC or not I 
don't see how we can ever build our libs with protected ;(

Simon


More information about the Kde-buildsystem mailing list