This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: add -Wno-overlength-strings


On Thu, Jan 26, 2006 at 11:37:33PM -0500, Andrew Pinski wrote:
> 
> On Jan 26, 2006, at 11:30 PM, Zack Weinberg wrote:
> >I also switched gengtype-lex.o from -Wno-error to 
> >-Wno-missing-prototypes;
> >this suppresses all the harmless warnings from flex's boilerplate.
> I get a different warning rather than the missing prototypes warnings:
> /usr/share/bison.simple: In function `yyparse':
> /usr/share/bison.simple:614: warning: comparison between signed and 
> unsigned
> /usr/share/bison.simple:626: warning: comparison between signed and 
> unsigned
> This comes from GNU Bison version 1.28.

That's gengtype-yacc.o, not gengtype-lex.o.  Do you still get warnings
for gengtype-lex.o?

However, this answers the question 'can we get rid of the -Wno-error
for gengtype-yacc.o' in the negative; sad, but nice to know.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]