[Bug c++/78147] The -Wshadow warning is too aggressive with constructor parameters
egallager at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 14 17:53:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=72789
--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
> Confirmed. Paul, please post your patch to gcc-patches. Personally, I
> think providing it under Clang's -Wunused-private-field for compatibility
> would be preferable to disabling the warning altogether.
>
For reference, the bug to add -Wunused-private-field is bug 72789, btw.
More information about the Gcc-bugs
mailing list