waf: warn on missing declarations in SITL

This commit is contained in:
Peter Barker 2023-05-19 10:53:55 +10:00 committed by Peter Barker
parent f092c22915
commit 0d38362c1a
1 changed files with 2 additions and 1 deletions

View File

@ -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: