[Bug c++/68374] G++ -Wshadow doesn't warn about static member shadowing

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Feb 12 16:48:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68374

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egallager at gcc dot gnu.org

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to xyzdr4gon333 from comment #3)
> (In reply to Paolo Carlini from comment #1)
> > This is already fixed in trunk. I'm adding a testcase and closing the bug.
> 
> What do you mean with trunk? 

[...snip..]

> 
> Ah okay this version does work:
> 
>     g++-8 (Debian 8-20180207-2) 8.0.1 20180207 (experimental) [trunk
> revision 257435]

That's trunk.


More information about the Gcc-bugs mailing list