This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
CVS HEAD bootstrap failure becuase of -Werror
- From: Patrick Mau <mau at oscar dot ping dot de>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 15 Apr 2003 16:02:36 +0200
- Subject: CVS HEAD bootstrap failure becuase of -Werror
- Reply-to: Patrick Mau <mau at oscar dot ping dot de>
Hallo list,
gcc from CVS HEAD on i686-linux-gnu does not bootstrap, because
of '-Werror'. I think 'gengtype-lex.c' should be marked as
an exception for '-Werror' in gcc/Makefile.
Should I create a patch ?
gengtype-lex.o-warn = -Wno-error
should fix it, I think.
Thanks,
Patrick
stage1/xgcc -Bstage1/ -B/opt/gcc/i686-pc-linux-gnu/bin/ -c
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Werror -fno-common
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/var/tmp/gcc.cpy/gcc
-I/var/tmp/gcc.cpy/gcc/. -I/var/tmp/gcc.cpy/gcc/config
-I/var/tmp/gcc.cpy/gcc/../include \
/var/tmp/gcc.cpy/gcc/gengtype-lex.c -o gengtype-lex.o
-:3079: warning: no previous prototype for `yyget_lineno'
-:3088: warning: no previous prototype for `yyget_in'
-:3096: warning: no previous prototype for `yyget_out'
-:3104: warning: no previous prototype for `yyget_leng'
-:3113: warning: no previous prototype for `yyget_text'
-:3122: warning: no previous prototype for `yyset_lineno'
-:3134: warning: no previous prototype for `yyset_in'
-:3139: warning: no previous prototype for `yyset_out'
-:3144: warning: no previous prototype for `yyget_debug'
-:3149: warning: no previous prototype for `yyset_debug'
-:3155: warning: no previous prototype for `yylex_destroy'
make[2]: *** [gengtype-lex.o] Error 1
make[2]: Leaving directory `/var/tmp/gcc.bld/gcc'