From 61377040328ed2753193001a0df5441d3abb54d9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 18 Feb 2019 13:16:01 +1100 Subject: [PATCH] Tools: ardupilotwaf: add -Werror=inconsistent-missing-override for clang --- Tools/ardupilotwaf/boards.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', ]