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: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Aug 2005 21:32:27 -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 pinskia at physics dot uc dot edu 2005-08-29 21:32 -------
Subject: Re: Typeinfo comparison code easily breaks shared libs
On Aug 29, 2005, at 5:27 PM, mmarcus at emarcus dot org wrote:
>
> ------- Additional Comments From mmarcus at emarcus dot org
> 2005-08-29 21:27 -------
The point is that you are saying all symbols are hidden by default so
you are
marking the RTTI as hidden too which is a good idea for your own
libraries
and classes which are hidden in the shared libraries but since you
are including other people's headers, maybe wrapping them with push/pop
is what you need. Then this is not a GCC per say but rather you
misunderstanding what the options do.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23628