This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Our docs about --enable/--disable-visibility


Hi,
On 29 Oct, 2011, at 2:26 PM, Jonathan Wakely wrote:

Yes, that's my interpretation: users can use -fvisibility=hidden
without getting segfaults because they've hidden parts of libstdc++
that must not be hidden.

Can somebody provide me an example of a code that segfaults if "namespace std" is not default visible? I never had problems, neither with std nor with other libraries such as boost.
Well, I guess it depends a lot on which parts of the library are you using and how you are linking together "stuff". For sure you have a point in that for many years v3 didn't have the mechanism available and definitely was already largely usable, neither the decorations existed in the HP/SGI STL headers which people used to just drop-in in their systems circa ~1990s (thus completing large interesting C++ only projects). All in all, anyway, I think it's uncontroversial that the current *default* is Ok for the large majority of the users.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]