[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