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:
Peter Barker 2019-06-11 12:39:56 +10:00 committed by Peter Barker
parent f385a4a329
commit 82dd2438b9
1 changed files with 2 additions and 0 deletions

View File

@ -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: