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/
    [EMAIL PROTECTED] (personal mail)
    [EMAIL PROTECTED] (CodeSourcery mail)
    [EMAIL PROTECTED] (Bugzilla assignments and CCs)

Reply via email to