bug-bison
[Top][All Lists]
Advanced

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

Re: [Bison-Announce] Bison 3.2.90 released [beta]


From: Frank Heckenbach
Subject: Re: [Bison-Announce] Bison 3.2.90 released [beta]
Date: Sun, 13 Jan 2019 01:49:48 +0100

Akim Demaille wrote:

> We are very happy to announce the release of Bison 3.2.90, a beta of
> Bison 3.3.  Please, use it, stress it, and report results.

I get a new shadowing warning:

parse.cpp: In member function ‘virtual int TParser::parse()’:
parse.cpp:1238:53: error: declaration of ‘slice’ shadows a member of 
‘TParser’ [-Werror=shadow]

That's:

        slice<stack_symbol_type, stack_type> slice (yystack_, yylen);

parse.h:1790:11: note: shadowed declaration is here

That's:

    class slice

Of course, shadowing is not forbidden by the C++ standard, but since
it's the only instance of this, you may want to consider renaming
one of them.

Cheers,
Frank



reply via email to

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