This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26846] hidden visibility of static member in class derived from hash_map changes to default visibility
- From: "laszlo dot szakony at philips dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2006 14:52:39 -0000
- Subject: [Bug c++/26846] hidden visibility of static member in class derived from hash_map changes to default visibility
- References: <bug-26846-12404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from laszlo dot szakony at philips dot com 2006-04-20 14:52 -------
Created an attachment (id=11303)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11303&action=view)
Simple test without automake files to test visibility changes of static members
To create the binaries and run the test:
>tar -xzf simpletest.tar.gz
>cd simpletest
>./build.sh
Actually the shared libs libdlib1.so and libdlib2.so should not export any
symbols, but as you can see, both of them have the global symbol SLibC1::m_str.
But only in case of hash_map. With std::map works.
--
laszlo dot szakony at philips dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #11113|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26846