[Bug c++/12341] Request for additional warning for variable shadowing

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 4 11:00:09 GMT 2022


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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This inheritance case is "name hiding" and we have other requests for warnings
about it. I think it should be distinct from -Wshadow.


More information about the Gcc-bugs mailing list