diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index a2ca50e8b6..e30cce92fb 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -175,8 +175,9 @@ class Board: env.CXXFLAGS += [ '-fcolor-diagnostics', + '-Werror=inconsistent-missing-override', + '-Wno-gnu-designator', - '-Wno-inconsistent-missing-override', '-Wno-mismatched-tags', '-Wno-gnu-variable-sized-type-not-at-end', ]