Compiling GCC with g++: a report
Joseph S. Myers
joseph@codesourcery.com
Tue May 24 04:59:00 GMT 2005
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)
More information about the Gcc
mailing list