|
From: | Paul Eggert |
Subject: | Re: FYI: master: c++: fix GCC8 warnings about uninitialized values |
Date: | Sat, 18 Aug 2018 10:44:31 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
Akim Demaille wrote:
You did that for the compilers that do not support the pragma. ISTR that I was in favor of always initializing yylval, but you commented that that would prevent the compiler from reporting the user that she forgot to set yylval :) Unfortunately it seems that it does not work: if we take the input.y file from my previous message and_remove_ the definition of yylval in yoles then… GCC no longer warns!
That's very strange. Can you send me the C file that GCC is not complaining about, but should complain? Along with the gcc options you're using?
[Prev in Thread] | Current Thread | [Next in Thread] |