From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24198 invoked by alias); 31 Aug 2005 14:12:54 -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 23729 invoked by uid 48); 31 Aug 2005 14:12:22 -0000 Date: Wed, 31 Aug 2005 14:21:00 -0000 Message-ID: <20050831141222.23728.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" 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/msg03587.txt.bz2 List-Id: ------- 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