Le 5 oct. 2012 à 19:55, Paul Eggert a écrit : > I looked into the matter further, and it turns out that > GCC has two classes of warnings in this area, -Wuninitialized > and -Wmaybe-uninitialized. It's the latter that are causing > trouble, and initializing yylval suppresses them; but it > also suppresses the trouble-free warnings, which is undesirable. > > So, how about the following idea instead? It follows > your suggestion for random compilers, but for new-enough GCC it > simply disables the bogus warning directly. This should cause > recent GCC to issue a warning for my most-recent test grammar > (which is what we prefer) while not issuing warnings for the > cases where warnings are bothering people.
Good with me! Please, install in maint (not master, I'll merge later). Thanks!
