From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19997 invoked by alias); 29 Aug 2005 21:32:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 19929 invoked by alias); 29 Aug 2005 21:32:27 -0000 Date: Mon, 29 Aug 2005 21:57:00 -0000 Message-ID: <20050829213227.19928.qmail@sourceware.org> From: "pinskia at physics dot uc dot edu" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050829194742.23628.mmarcus@emarcus.org> References: <20050829194742.23628.mmarcus@emarcus.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23628] Typeinfo comparison code easily breaks shared libs X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg03386.txt.bz2 List-Id: ------- 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