------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-29 20:52 ------- (In reply to comment #9) > Sorry, I was a bit sloppy--I didn't remove all intermediate layers from my > test > environment. I will explore this further. In any case, if I explicitly invoke > g++ -fvisibility=hidden t.cc && ./a.out the "Oops" case is encountered.
Oh, that is the problem in that the libstdc++ headers are not marked with default visibility. Let me try that and then try with wrapping the includes with push and pop of the visibility. If that works, then I am marking this as a dup of the bug for the push/pop in libstdc++. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628