waf: added -Werror=switch

match the stm32 build, so errors are found in SITL
This commit is contained in:
Andrew Tridgell 2017-04-19 20:10:52 +10:00
parent 0cfc6f8e0f
commit c8d6311047

View File

@ -128,6 +128,7 @@ class Board:
'-Werror=array-bounds',
'-Werror=uninitialized',
'-Werror=init-self',
'-Werror=switch',
'-Wfatal-errors',
]