mirror of https://github.com/ArduPilot/ardupilot
Tools: ardupilotwaf: add -Werror=attributes
This commit is contained in:
parent
6622a4579e
commit
929e84d120
|
@ -91,6 +91,7 @@ class Board:
|
|||
'-Werror=return-type',
|
||||
'-Werror=unused-result',
|
||||
'-Werror=narrowing',
|
||||
'-Werror=attributes',
|
||||
]
|
||||
|
||||
if cfg.options.enable_scripting:
|
||||
|
@ -157,6 +158,7 @@ class Board:
|
|||
'-Wno-reorder',
|
||||
'-Wno-redundant-decls',
|
||||
'-Wno-unknown-pragmas',
|
||||
'-Werror=attributes',
|
||||
'-Werror=format-security',
|
||||
'-Werror=enum-compare',
|
||||
'-Werror=array-bounds',
|
||||
|
|
Loading…
Reference in New Issue