bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 3.5 - y.tab.c generates compiler warnings


From: Akim Demaille
Subject: Re: Bison 3.5 - y.tab.c generates compiler warnings
Date: Thu, 19 Dec 2019 07:22:47 +0100


> Le 18 déc. 2019 à 22:38, Paul Eggert <address@hidden> a écrit :
> 
> Thanks for reporting that. As you inferred, the warnings are false alarms. I 
> installed the attached patch to prevent the warnings from being generated by 
> future Bison versions.
> <0001-warnings-pacify-gcc-Wchar-subscripts-in-yacc.c.patch>

Thanks Paul!

But so far I was unable to reproduce that warning 
(https://travis-ci.org/akimd/bison/builds/626034753), and if we want to commit 
avoiding this warning, we should also add it to the set of warnings we check.

Andy, could you please be more specific?  I used several versions of GCC and 
Clang, and could not get it.  What compiler version were you using, and what 
platform?

Cheers!


reply via email to

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