This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Binutils builds broken with -Werror
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sources dot redhat dot com
- Date: Wed, 16 Mar 2005 15:13:39 -0500
- Subject: Binutils builds broken with -Werror
We need to either disable -Werror for generated files, or accomodate
different versions of flex/bison more flexibly. I recommend the former...
itbl-lex.c:1693: warning: no previous prototype for `yyget_lineno'
itbl-lex.c:1702: warning: no previous prototype for `yyget_in'
itbl-lex.c:1710: warning: no previous prototype for `yyget_out'
itbl-lex.c:1718: warning: no previous prototype for `yyget_leng'
itbl-lex.c:1727: warning: no previous prototype for `yyget_text'
itbl-lex.c:1736: warning: no previous prototype for `yyset_lineno'
itbl-lex.c:1748: warning: no previous prototype for `yyset_in'
itbl-lex.c:1753: warning: no previous prototype for `yyset_out'
itbl-lex.c:1758: warning: no previous prototype for `yyget_debug'
itbl-lex.c:1763: warning: no previous prototype for `yyset_debug'
itbl-lex.c:1769: warning: no previous prototype for `yylex_destroy'
make[3]: *** [itbl-lex.o] Error 1
lex.yy.c:1841: warning: no previous prototype for `yyget_lineno'
lex.yy.c:1850: warning: no previous prototype for `yyget_in'
lex.yy.c:1858: warning: no previous prototype for `yyget_out'
lex.yy.c:1866: warning: no previous prototype for `yyget_leng'
lex.yy.c:1875: warning: no previous prototype for `yyget_text'
lex.yy.c:1884: warning: no previous prototype for `yyset_lineno'
lex.yy.c:1896: warning: no previous prototype for `yyset_in'
lex.yy.c:1901: warning: no previous prototype for `yyset_out'
lex.yy.c:1906: warning: no previous prototype for `yyget_debug'
lex.yy.c:1911: warning: no previous prototype for `yyset_debug'
lex.yy.c:1917: warning: no previous prototype for `yylex_destroy'
lex.yy.c:1349: warning: `yyunput' defined but not used
make[3]: *** [arlex.o] Error 1
--
Daniel Jacobowitz
CodeSourcery, LLC