This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23628] Typeinfo comparison code easily breaks shared libs
- From: "ghost at cs dot msu dot su" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2005 14:31:23 -0000
- Subject: [Bug c++/23628] Typeinfo comparison code easily breaks shared libs
- References: <20050829194742.23628.mmarcus@emarcus.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ghost at cs dot msu dot su 2005-08-31 14:31 -------
You might be formally right, but what about practical consequences? Unless
*all* libraries I use have push/pops in *every single header*, using
-fvisibility for my own library can result in crash. So for a large
application you'd need to get authors of all used libraries to "fix" them!
Note that even libstdc++ does not have this at the moment. This makes
-fvisibility just useless.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628