public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/10859: C++ style comments are not allowed in ISO C90
@ 2003-05-19 12:46 ask
0 siblings, 0 replies; 3+ messages in thread
From: ask @ 2003-05-19 12:46 UTC (permalink / raw)
To: gcc-gnats
>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:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bootstrap/10859: C++ style comments are not allowed in ISO C90
@ 2003-05-19 12:56 Andrew Pinski
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Pinski @ 2003-05-19 12:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
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:
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bootstrap/10859: C++ style comments are not allowed in ISO C90
@ 2003-05-19 13:03 ehrhardt
0 siblings, 0 replies; 3+ messages in thread
From: ehrhardt @ 2003-05-19 13:03 UTC (permalink / raw)
To: ask, gcc-bugs, gcc-prs, nobody
Synopsis: C++ style comments are not allowed in ISO C90
State-Changed-From-To: open->closed
State-Changed-By: cae
State-Changed-When: Mon May 19 13:03:31 2003
State-Changed-Why:
Fixed as of revision 1.7 of cp/name-lookup.c.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10859
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-19 13:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-19 12:46 bootstrap/10859: C++ style comments are not allowed in ISO C90 ask
2003-05-19 12:56 Andrew Pinski
2003-05-19 13:03 ehrhardt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).