------- Additional Comments From hjl at lucon dot org 2005-02-27 03:54 ------- There are 3 bugs here:
1. libstdc++ should have pop/push of the visibility. 2. C++ should support pop/push of the visibility. 3. Gcc should emit ".hidden foo" when foo is marked hidden, defined or not. Patches for #2 are at http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00180.html http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00287.html I opened a bug for #3, bug 20218. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664