This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2006 02:52:33 -0000
- Subject: [Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations
- References: <bug-19664-10020@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #96 from bkoz at gcc dot gnu dot org 2006-07-19 02:52 -------
Created an attachment (id=11912)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11912&action=view)
viz patch part one
Hey Jakub.
Here's a way to start in on this.
This does two things:
1) adds default visibility attributes to
namespace std
namespace std::tr1
namespace __gnu_cxx
2) adds hidden visibility attributes to
namespace __gnu_internal
There are a couple of things I want to do in addition to this, but these can be
added in later. (Such as move as much __gnu_internal into anonymous namespaces,
consolidate various internal namespaces into anonymous namespaces or
__gnu_internal, relocation tuning, consolidation of visibility schemes between
libsupc++ and libstdc++).
Testing on so_7 with namespace associations is in progress.
tested x86/linux
tested x86/linux CXXFLAGS="-fvisibility=hidden" (fails)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664