https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94698
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:c95d1dd7f5ec48e4c6d622b57843aaa25528170b commit r10-7887-gc95d1dd7f5ec48e4c6d622b57843aaa25528170b Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Apr 22 18:02:38 2020 +0100 c++: Fix misuse of "override" in -Weffc++ warnings (PR 94698) These warnings have nothing to do with virtual functions, so "override" is inappropriate. The warnings are just talking about defining special members, so let's say that. PR translation/94698 * class.c (check_field_decls): Change "override" to "define" in -Weffc++ diagnostics.