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: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2005 14:48:07 -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 gdr at integrable-solutions dot net 2005-08-31 14:48 -------
Subject: Re: Typeinfo comparison code easily breaks shared libs
"ghost at cs dot msu dot su" <gcc-bugzilla@gcc.gnu.org> writes:
| 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.
Please, reopen this PR.
Andrew, take a deep breadth.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628