[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warnings

From: Akim Demaille
Subject: Re: Warnings
Date: Wed, 3 Apr 2013 17:32:42 +0200

Le 20 mars 2013 à 19:37, Rob Conde <address@hidden> a écrit :

> "We consider compiler warnings about Bison generated parsers to be bugs.
> Rather than working around them in your own project, please consider
> reporting them to us."

Hi Rob,

Thanks a lot for reporting this.  If you have suggestions of patches,
that would be most useful!  I'm first looking for "clean", pure C++
fixes, and then, if truly needed, some _MSC_VER and #pragma magic.

> Ok - here we go:
> Visual Studio 2010 warning level 4
> stack.hh generates warning 4512
> lalr1.cc generates warning 4512 for the parser class
> lalr1.cc generates warning 4065 in a couple of places that have only a
> default case in the switch
> lalr1.cc generates warning 4702 for the code in the yyerrorlab label after
> the if(false) goto yyerrorlab;
> lalr1.cc generates warning 4127 anywhere YYCDEBUG is used
> lalr1.cc generates warning 4127 for if(false) goto yyerrorlab; in the
> yyerrorlab label
> lalr1.cc generates warning 4127 for YYLLOC_DEFAULT (yyloc, yyerror_range,
> 2);
> Let me know if you have any questions,
> Rob Conde

reply via email to

[Prev in Thread] Current Thread [Next in Thread]