This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiling GCC with g++: a report


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]