Tools: ardupilotwaf: make shadowed variables fatal on all platforms

This commit is contained in:
Peter Barker 2019-03-19 22:00:29 +11:00 committed by Peter Barker
parent a23a60d1ea
commit e6a1789df8
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,6 @@ class Board:
'-Wall',
'-Wextra',
'-Wformat',
'-Wshadow',
'-Wpointer-arith',
'-Wcast-align',
'-Wundef',
@ -88,6 +87,7 @@ class Board:
'-Wno-redundant-decls',
'-Wno-unknown-pragmas',
'-Wno-trigraphs',
'-Werror=shadow',
'-Werror=return-type',
'-Werror=unused-result',
'-Werror=narrowing',
@ -149,7 +149,6 @@ class Board:
'-Wall',
'-Wextra',
'-Wformat',
'-Wshadow',
'-Wpointer-arith',
'-Wcast-align',
'-Wundef',
@ -170,6 +169,7 @@ class Board:
'-Werror=sign-compare',
'-Werror=unused-result',
'-Werror=return-type',
'-Werror=shadow',
'-Wfatal-errors',
'-Wno-trigraphs',
]