[Bug c++/102168] -Wnon-virtual-dtor shouldn't fire for protected dtor in a class with a friend declaration

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 6 14:23:10 GMT 2022


--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Like I said, this warning should never be used :-)

More information about the Gcc-bugs mailing list