From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 539 invoked by alias); 19 May 2003 12:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 502 invoked by uid 71); 19 May 2003 12:56:01 -0000 Date: Mon, 19 May 2003 12:56:00 -0000 Message-ID: <20030519125601.501.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Andrew Pinski Subject: Re: bootstrap/10859: C++ style comments are not allowed in ISO C90 Reply-To: Andrew Pinski X-SW-Source: 2003-05/txt/msg02075.txt.bz2 List-Id: The following reply was made to PR bootstrap/10859; it has been noted by GNATS. From: Andrew Pinski To: ask@wisdom.weizmann.ac.il Cc: Andrew Pinski , gcc-gnats@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: > >