Tools: add more compilation warning flags

This commit is contained in:
Pierre Kancir 2021-08-22 10:33:17 +02:00 committed by Peter Barker
parent 6a459af624
commit 41788d7b2e

View File

@ -269,6 +269,10 @@ class Board:
'-Wno-trigraphs',
'-Werror=parentheses',
'-DARDUPILOT_BUILD',
'-Wuninitialized',
'-Wmaybe-uninitialized',
'-Warray-bounds',
'-Wduplicated-cond',
]
if 'clang++' in cfg.env.COMPILER_CXX: