mirror of https://github.com/ArduPilot/ardupilot
waf: warn on missing declarations in SITL
This commit is contained in:
parent
f092c22915
commit
0d38362c1a
|
@ -653,7 +653,8 @@ class sitl(Board):
|
||||||
CANARD_ENABLE_CANFD = 1)
|
CANARD_ENABLE_CANFD = 1)
|
||||||
|
|
||||||
env.CXXFLAGS += [
|
env.CXXFLAGS += [
|
||||||
'-Werror=float-equal'
|
'-Werror=float-equal',
|
||||||
|
'-Werror=missing-declarations',
|
||||||
]
|
]
|
||||||
|
|
||||||
if cfg.options.ubsan or cfg.options.ubsan_abort:
|
if cfg.options.ubsan or cfg.options.ubsan_abort:
|
||||||
|
|
Loading…
Reference in New Issue