bootstrap/10859: C++ style comments are not allowed in ISO C90

[email protected]
Newsgroups gmane.comp.gcc.prs
Message-ID <[email protected]>
>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:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.