https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66151
Bug ID: 66151 Summary: different "override" options Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tromey at gcc dot gnu.org Target Milestone: --- clang has a "-Winconsistent-missing-override", which is in use at Mozilla now. This option will warn about a missing "override" (like -Wsuggest-override), but only if the class already has some other use of "override". It would be nice if GCC had this option as well. Another proposed style at Mozilla is to allow just one of "override", "final", or "virtual". So an option to warn when this style is violated would also be nice.