mirror of https://github.com/ArduPilot/ardupilot
Tools: ardupilotwaf: make shadowed variables fatal on all platforms
This commit is contained in:
parent
a23a60d1ea
commit
e6a1789df8
|
@ -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',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue