bison-patches
[Top][All Lists]
Advanced

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

Re: FYI: master: c++: fix GCC8 warnings about uninitialized values


From: Paul Eggert
Subject: Re: FYI: master: c++: fix GCC8 warnings about uninitialized values
Date: Fri, 17 Aug 2018 00:00:23 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Akim Demaille wrote:
The problem is that I could not find any place where this pragma is effective 
except the definition of yylval itself:

That's where I would expect the pragma to work.

Sorry, I've lost context. But can't you also get rid of the warning by having YY_INITIAL_VALUE (= yyval_default) expand to '= yyval_default'? I vaguely remember doing this long ago.



reply via email to

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