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.