This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure: cxxmain.c:930: syntax error before `('
- To: block at zk3 dot dec dot com
- Subject: Re: Bootstrap failure: cxxmain.c:930: syntax error before `('
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Wed, 15 Nov 2000 15:42:28 +0100
- CC: pfeifer at dbai dot tuwien dot ac dot at, gcc-bugs at gcc dot gnu dot org, kenneth dot block at compaq dot com, gcc-patches at gcc dot gnu dot org
> 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