[PATCH] -fvisibility problems

Dirk Mueller mueller at kde.org
Tue Nov 16 22:39:03 GMT 2004

On Tuesday 16 November 2004 21:18, Szombathelyi Gy├Ârgy wrote:

> > That cannot be committed as is, for two reasons: installed header files
> > must not include config.h and kjs must not have dependencies on other
> > parts of kdelibs.
> Have you got a better idea for the feature test?

Well, I'm not sure yet that it is necessary, I think older gcc's can cope just 
fine with unsupported attributes. If not, we can either make the configure 
check use -fvisibility based on the gcc version or create an installable 
kdelibs_config.h that only contains the KDE_EXPORT macro. Not sure which 
variant is best.. I'm not yet convinced that the backportings of the 
-fvisibility stuff in the various vendor compilers is bug free. 


More information about the kde-core-devel mailing list