From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16471 invoked by alias); 23 May 2005 23:59:52 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 16458 invoked by uid 22791); 23 May 2005 23:59:48 -0000 Received: from admin.voldemort.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 23 May 2005 23:59:48 +0000 Received: (qmail 6284 invoked from network); 23 May 2005 23:59:46 -0000 Received: from localhost (HELO digraph.polyomino.org.uk) (joseph@127.0.0.1) by mail.codesourcery.com with DES-CBC3-SHA encrypted SMTP; 23 May 2005 23:59:46 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.44) id 1DaMpk-0000ki-E7; Mon, 23 May 2005 23:59:44 +0000 Date: Tue, 24 May 2005 04:59:00 -0000 From: "Joseph S. Myers" X-X-Sender: jsm28@digraph.polyomino.org.uk To: Gabriel Dos Reis cc: gcc@gcc.gnu.org, jason@redhat.com, mark@codesourcery.com, dberlin@dberlin.org Subject: Re: Compiling GCC with g++: a report In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-05/txt/msg01269.txt.bz2 On Tue, 24 May 2005, Gabriel Dos Reis wrote: > I can also report that I got the GNU C++ compiler through -- and apart > form uses of C++ keywords (template, namespace, class), it worked > out. A note on type sfety issue though: lookup_name() is declared in > c-tree.h as > > extern tree lookup_name (tree); > > and used in c-common.c:handle_cleanup_attribute() according to that > signature. It is however declared and defined in cp/ as > > extern tree lookup_name (tree, int); We should try to stop c-common.c from including c-tree.h. If it is genuinely common code it shouldn't be including c-tree.h which is a C front end header. -- Joseph S. Myers http://www.srcf.ucam.org/~jsm28/gcc/ jsm@polyomino.org.uk (personal mail) joseph@codesourcery.com (CodeSourcery mail) jsm28@gcc.gnu.org (Bugzilla assignments and CCs)