This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/26846] hidden visibility of static member in class derived from hash_map changes to default visibility



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]