This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/17658] New: Warning in gcc/cp/parser.c breaks bootstrap
- From: "v dot haisman at sh dot cvut dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Sep 2004 16:30:02 -0000
- Subject: [Bug bootstrap/17658] New: Warning in gcc/cp/parser.c breaks bootstrap
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
make[2]: Entering directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
stage1/xgcc -Bstage1/ -B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -c -O2 -g
-fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition -Werror -Werror -fno-common -DHAVE_CONFIG_H
-I/home/4/wilx/include -I. -Icp -I../../srcdir/gcc -I../../srcdir/gcc/cp
-I../../srcdir/gcc/../include -I../../srcdir/gcc/../libcpp/include
../../srcdir/gcc/cp/parser.c -o cp/parser.o
cc1: warnings being treated as errors
../../srcdir/gcc/cp/parser.c: In function 'cp_parser_declaration':
../../srcdir/gcc/cp/parser.c:6680: warning: braces around scalar initializer
../../srcdir/gcc/cp/parser.c:6680: warning: (near initialization for 'token2.value')
../../srcdir/gcc/cp/parser.c:6680: warning: excess elements in scalar initializer
../../srcdir/gcc/cp/parser.c:6680: warning: (near initialization for 'token2.value')
../../srcdir/gcc/cp/parser.c:6680: warning: missing initializer
../../srcdir/gcc/cp/parser.c:6680: warning: (near initialization for
'token2.location')
make[2]: *** [cp/parser.o] Error 1
make[2]: Leaving directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/4/wilx/tmp/gcc-head/objdir/gcc'
make: *** [bootstrap] Error 2
--
Summary: Warning in gcc/cp/parser.c breaks bootstrap
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: v dot haisman at sh dot cvut dot cz
CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
cvut dot cz
GCC build triplet: i386-unknown-freebsd4.10
GCC host triplet: i386-unknown-freebsd4.10
GCC target triplet: i386-unknown-freebsd4.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17658