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

Akim Demaille <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <[email protected]>

> Le 18 déc. 2019 à 22:38, Paul Eggert <[email protected]> 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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.