[Bug c++/23628] Typeinfo comparison code easily breaks shared libs
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 31 14:21:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 14:12 -------
Lets recap here:
-fvisibility=xxx means mark all things as xxx unless something else marks it differenently.
So if you include a header and that header does not have the push/pop (or otherwise marking the
classes/functions), you run into this problem report. But this is an user bug and not a GCC one since
GCC is doing exactly it was told to do but the user was not expecting it. Think about headers/#include
as pasting method and not a way to mark things different (system headers are questionable here but
usually it is only for diagnostic and extern "C" being default just because system headers are broken).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628
More information about the Gcc-bugs
mailing list