The following reply was made to PR bootstrap/10859; it has been noted by GNATS.
From: Andrew Pinski <pinskia@physics.uc.edu>
To: ask@wisdom.weizmann.ac.il
Cc: Andrew Pinski <pinskia@physics.uc.edu>, gcc-gnats@gcc.gnu.org,
"Gcc-Bugs@Gcc. Gnu. Org" <gcc-bugs@gcc.gnu.org>
Subject: Re: bootstrap/10859: C++ style comments are not allowed in ISO C90
Date: Mon, 19 May 2003 08:52:57 -0400
This was my fault and it has been fixed.
Please update you sources.
This really should not be a warning at this point since the source of
g++ depends
on gcc extension so C++ style comments are also gcc extensions in g90.
The sources of g++ should not have -pedantic on it.
Thanks,
Andrew Pinski
PS Can someone close this bug as it has been fixed.
On Monday, May 19, 2003, at 08:41 US/Eastern, ask@wisdom.weizmann.ac.il
wrote:
>
>> Number: 10859
>> Category: bootstrap
>> Synopsis: C++ style comments are not allowed in ISO C90
>> Confidential: no
>> Severity: serious
>> Priority: medium
>> Responsible: unassigned
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Mon May 19 12:46:01 UTC 2003
>> Closed-Date:
>> Last-Modified:
>> Originator: Alexander Klimov
>> Release: 3.4 20030519
>> Organization:
>> Environment:
> SunOS iridium 5.6 Generic_105181-32 sun4u sparc SUNW,Ultra-5_10
>> Description:
> ../gcc/configure --prefix=/usr/local/gcc34 --with-cpu=ultrasparc
> --enable-languages=c,c++ && make CFLAGS=-O2 'LIBCFLAGS=-g -O2'
> 'LIBCXXFLAGS=-g -O2 -fno-implicit-templates' bootstrap
> [...]
> stage1/xgcc -Bstage1/ -B/usr/local/gcc34/sparc-sun-solaris2.6/bin/ -c
> -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long -Werror -Werror
> -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../gcc/gcc
> -I../../gcc/gcc/cp -I../../gcc/gcc/config -I../../gcc/gcc/../include
> ../../gcc/gcc/cp/name-lookup.c -o cp/name-lookup.o
> ../../gcc/gcc/cp/name-lookup.c:108:32: C++ style comments are not
> allowed in ISO C90
> ../../gcc/gcc/cp/name-lookup.c:108:32: (this will be reported only
> once per input file)
> make[2]: *** [cp/name-lookup.o] Error 1
> make[2]: Leaving directory `/export/home2/ask/build/gcc-build/gcc'
> make[1]: *** [stage2_build] Error 2
> make[1]: Leaving directory `/export/home2/ask/build/gcc-build/gcc'
> make: *** [bootstrap] Error 2
>> How-To-Repeat:
>
>> Fix:
>
>> Release-Note:
>> Audit-Trail:
>> Unformatted:
>
>