Tools: ardupilotwaf: add -Werror=attributes

This commit is contained in:
Peter Barker 2019-03-19 12:24:00 +11:00 committed by Peter Barker
parent 6622a4579e
commit 929e84d120
1 changed files with 2 additions and 0 deletions

View File

@ -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',