http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50745
Bug #: 50745 Summary: proposal to make visibility of namespace gcc configurable Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: vincenzo.innoce...@cern.ch CC: b...@redhat.com, ja...@gcc.gnu.org, pa...@gcc.gnu.org following the discussion in PR50348 I would like to suggest to make the visibility of namespace gcc configurable. This will allow developers that build gcc themselves to experiment and eventually choose the visibility that best fit their application. something like namespace std _GLIBCXX_STD_VISIBILITY {…} with _GLIBCXX_STD_VISIBILITY properly set at configure time. std::exception is already protected with #pragma by the way and should of course stay like that.