Tools: add more compilation warning flags
This commit is contained in:
parent
6a459af624
commit
41788d7b2e
@ -269,6 +269,10 @@ class Board:
|
|||||||
'-Wno-trigraphs',
|
'-Wno-trigraphs',
|
||||||
'-Werror=parentheses',
|
'-Werror=parentheses',
|
||||||
'-DARDUPILOT_BUILD',
|
'-DARDUPILOT_BUILD',
|
||||||
|
'-Wuninitialized',
|
||||||
|
'-Wmaybe-uninitialized',
|
||||||
|
'-Warray-bounds',
|
||||||
|
'-Wduplicated-cond',
|
||||||
]
|
]
|
||||||
|
|
||||||
if 'clang++' in cfg.env.COMPILER_CXX:
|
if 'clang++' in cfg.env.COMPILER_CXX:
|
||||||
|
Loading…
Reference in New Issue
Block a user