This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/9160: gcc 3.2.1 - typo?? in cp-tree.h
- From: c dot posingies at gmx dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 3 Jan 2003 18:31:26 -0000
- Subject: bootstrap/9160: gcc 3.2.1 - typo?? in cp-tree.h
- Reply-to: c dot posingies at gmx dot de
>Number: 9160
>Category: bootstrap
>Synopsis: gcc 3.2.1 - typo?? in cp-tree.h
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jan 03 10:36:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Carsten Posingies
>Release: gcc 3.2.1
>Organization:
>Environment:
i586-pc-linux-gnu, RedHat 8.0, gcc 3.2 to compile gcc 3.2.1
>Description:
stage1/xgcc -Bstage1/ -B/usr/i586-pc-linux-gnu/bin/ -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -DHAVE_CONFIG_H -I. -Icp -I../../gcc-3.2.1/gcc -I../../gcc-3.2.1/gcc/cp -I../../gcc-3.2.1/gcc/config -I../../gcc-3.2.1/gcc/../include ../../gcc-3.2.1/gcc/cp/typecheck2.c -o cp/typecheck2.o
In file included from ../../gcc-3.2.1/gcc/cp/typecheck2.c:37:
../../gcc-3.2.1/gcc/cp/cp-tree.h:4280: parse error before "P"
../../gcc-3.2.1/gcc/cp/cp-tree.h:4280: syntax error at '@' token
-- 8<-- snip -- 8<--
cp-tree.h:4280:
<< extern int cp_add_pending_fn_decls P@RAMS ((void*,tree));
> > extern int cp_add_pending_fn_decls PARAMS ((void*,tree));
>How-To-Repeat:
1) install redhat 8.0 on i586 (ships with gcc-3.2)
2) download gcc-3.2.1-???.tar.gz from ftp(sth).gnu.org
3) gzip -d <stuff>.tar.gz
4) tar -xvlf <stuff>.tar
5) (follow instructions)
6) make CFLAGS='-O' LIBFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
>Fix:
(see description)
kindest greetings, happy new year and keep on writing coolest code on earth,
Carsten
>Release-Note:
>Audit-Trail:
>Unformatted: