libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoid exporting of internal symbols


From: Satz Klauer
Subject: Re: Avoid exporting of internal symbols
Date: Wed, 6 Mar 2013 10:52:08 +0100

OK, it works with the hidden visibility! I linked some static librarys
to my shared one where I forgot to use this visibility - now that this
is fixed everything is fine :-)


On Tue, Mar 5, 2013 at 7:02 PM, David Carlos Manuelda
<address@hidden> wrote:
> El Martes, 5 de marzo de 2013 18:53:37 Satz Klauer escribió:
>> __attribute__ ((visibility ("default")))
>
> And why not __attribute__ ((visibility ("hidden"))) for symbols you don't want
> to be exported and __attribute__ ((visibility ("default"))) for the ones you
> want to be exported?
>
> You can also define macros to have code more readable, like they suggest in:
> http://gcc.gnu.org/wiki/Visibility in the part "How to use the new C++
> visibility support"
>
> That's what I suggested in first comment, but I was on mobile connection and
> could not look for you more info :)
> _______________________________________________
> https://lists.gnu.org/mailman/listinfo/libtool
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]