This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compiling GCC with g++: a report
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc at gcc dot gnu dot org, jason at redhat dot com, mark at codesourcery dot com, dberlin at dberlin dot org
- Date: Mon, 23 May 2005 23:59:44 +0000 (UTC)
- Subject: Re: Compiling GCC with g++: a report
- References: <m364xapix6.fsf@merlin.cs.tamu.edu> <m3u0kt5tdx.fsf@uniton.integrable-solutions.net>
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)