From 0d38362c1a0fd55704fe868a27d864d81a62bbce Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 19 May 2023 10:53:55 +1000 Subject: [PATCH] waf: warn on missing declarations in SITL --- 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 5131087ce9..8ccb521498 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -653,7 +653,8 @@ class sitl(Board): CANARD_ENABLE_CANFD = 1) env.CXXFLAGS += [ - '-Werror=float-equal' + '-Werror=float-equal', + '-Werror=missing-declarations', ] if cfg.options.ubsan or cfg.options.ubsan_abort: