Binutils builds broken with -Werror

Daniel Jacobowitz drow@false.org
Thu Mar 17 02:24:00 GMT 2005


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



More information about the Binutils mailing list