mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
waf: added -Werror=switch
match the stm32 build, so errors are found in SITL
This commit is contained in:
parent
0cfc6f8e0f
commit
c8d6311047
@ -128,6 +128,7 @@ class Board:
|
|||||||
'-Werror=array-bounds',
|
'-Werror=array-bounds',
|
||||||
'-Werror=uninitialized',
|
'-Werror=uninitialized',
|
||||||
'-Werror=init-self',
|
'-Werror=init-self',
|
||||||
|
'-Werror=switch',
|
||||||
'-Wfatal-errors',
|
'-Wfatal-errors',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user