bison-patches
[Top][All Lists]
Advanced

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

Re: My plans for Bison: gitch in yacc.c


From: Eric S. Raymond
Subject: Re: My plans for Bison: gitch in yacc.c
Date: Wed, 13 Feb 2019 06:45:11 -0500
User-agent: Mutt/1.9.4 (2018-02-28)

Akim Demaille <address@hidden>:
> Hi Eric,
> 
> > Le 12 févr. 2019 à 18:34, Eric S. Raymond <address@hidden> a écrit :
> > 
> > This was originally mail I sent to Akim Demaille. Her asked me to
> > direct it to this list.
> > 
> > Here are the things I want to do:
> > 
> > 0. My original intention was to fix a minor glitch in the C skeleton that
> > cases a spurious warning when NTPsec is building.  I see that has already
> > been done. Has it shipped in an official release yet?
> 
> I don't know.  What glitch and what version are you referring to?
> The current release is 3.3.2.  See NEWS for the history of releases.

Under 3.0.4:

ntp_parser.tab.c: In function ‘yysyntax_error’:
ntp_parser.tab.c:1512:3: warning: switch missing default case [-Wswitch-default]

But I can see that the repository-head source for the C skeleton has a
"break" generated in it at the right place to suppress this
warning. I'm wondering when that change was made because I'm trying to
get some idea when it is likely to hit the street in major Linux
distros.

It's the only warning that GCC throws in the entire NTPsec build.  We're
perfectionists and would like to banish it.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.





reply via email to

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