Bootstrap failure: cxxmain.c:930: syntax error before `('

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Wed Nov 15 06:53:00 GMT 2000


> From: "Kenneth Block" <block@zk3.dec.com>
> Date: Wed, 15 Nov 2000 09:05:14 -0500

> Ok, looks like DEFUN is obsolete and intentionally not defined when building
> GCC. I tested this patch in both binutils and gdb, but never in GCC, so I
> did not see this. Sorry about that. I'll make sure to test with GCC also in
> the future. Here is a fix:

> 2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
> 
>         * cplus_dem.c: Eliminate use of DEFUN, it is obsolete and cannot
> 	be used in GCC.

I approve this.  Can someone please install this patch?  I don't
have my keys here.

> Date: Wed, 15 Nov 2000 13:38:45 +0100 (CET)
> From: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>

> Ahem, the tree is getting extremely fragile this week. :-(
> 
> I believe the following patch
> 
>    2000-11-15  Kenneth Block  <kenneth.block@compaq.com>
> 
>         * cplus_dem.c: Add gnat demangler.  Add java to demangle style
>         list.
> 
> installed by H-P is responsible for the following bootstrap failure
> on i386-unknown-freebsd4.1 and sparc-sun-solaris2.6.

>     static void
> --> DEFUN (grow_vect, (old_vect, size, min_size, element_size),
>     void** old_vect

Sorry.  There seems to be a bug in ansidecl.h not defining DEFUN
here, but we shouldn't use DEFUN anyway.

Disclaimer: I thought ansidecl.c would take care of that strange
DEFUN, and that Dan had scrutinized it for sanity for GCC.  And
"make all && make check" in libiberty found nothing bad on the
ix86 gnu system I used.

brgds, H-P


More information about the Gcc-patches mailing list