visibility compile flag

Kevin Ottens ervin at kde.org
Tue Apr 29 07:21:44 UTC 2014


Hello,

On Monday 28 April 2014 19:50:51 Àlex Fiestas wrote:
> I'm porting libkscreen to Frameworks and I found that we are passing (when
> available) -fvisibility=hidden.
> 
> After reading this[1] really quick I thought I would send an email here so
> people wiser than me can decide if it makes sense to enable it to all
> frameworks by default, it sounds useful.

I'm confused... isn't it already the case?

At least KDECompilerSettings.cmake has the following line:
set(CMAKE_CXX_VISIBILITY_PRESET hidden)

It should enable -fvisibility=hidden for all frameworks as they include that 
file.

Or you meant something else?

Regards.
-- 
Kévin Ottens, http://ervin.ipsquad.net

KDAB - proud supporter of KDE, http://www.kdab.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140429/0d5e72c1/attachment.sig>


More information about the Kde-frameworks-devel mailing list