This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/50348] -fvisibility=hidden doesn't hide stl implementation details.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50348

--- Comment #5 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-09-22 11:49:29 UTC ---
indeed
and in "exception" header-file is a place where visibility is correctly handled
#pragma GCC visibility push(default)
extern "C++" {

namespace std
{
}
#pragma GCC visibility pop


I would have preferred specific __attribute((visibility( "default" )))
on each exception class though (push and pop and error-prone)


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