mirror of https://github.com/ArduPilot/ardupilot
waf: add -Werror=parentheses
This warns on some of our compilers in CI, but doesn't flag it as an error ATM
This commit is contained in:
parent
f385a4a329
commit
82dd2438b9
|
@ -93,6 +93,7 @@ class Board:
|
|||
'-Werror=narrowing',
|
||||
'-Werror=attributes',
|
||||
'-Werror=overflow',
|
||||
'-Werror=parentheses',
|
||||
'-Werror=format-extra-args',
|
||||
]
|
||||
|
||||
|
@ -175,6 +176,7 @@ class Board:
|
|||
'-Werror=unused-variable',
|
||||
'-Wfatal-errors',
|
||||
'-Wno-trigraphs',
|
||||
'-Werror=parentheses',
|
||||
]
|
||||
|
||||
if 'clang++' in cfg.env.COMPILER_CXX:
|
||||
|
|
Loading…
Reference in New Issue