[Bug c++/78010] --Wsuggest-override reports a redundant warning on a 'final' method

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 25 17:36:00 GMT 2017


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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rh-override
says that virtual functions should use exactly one of virtual, override or
final. Which agrees with the suggestion to not warn about functions that
already specify final.


More information about the Gcc-bugs mailing list