mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Tools: ardupilotwaf: add -Werror=return-type to all boards
This commit is contained in:
parent
9c6e75f45b
commit
5bd1f57a2a
@ -87,6 +87,7 @@ class Board:
|
||||
'-Wno-redundant-decls',
|
||||
'-Wno-unknown-pragmas',
|
||||
'-Wno-trigraphs',
|
||||
'-Werror=return-type',
|
||||
]
|
||||
|
||||
if 'clang' in cfg.env.COMPILER_CC:
|
||||
@ -130,6 +131,7 @@ class Board:
|
||||
'-Werror=array-bounds',
|
||||
'-Werror=uninitialized',
|
||||
'-Werror=init-self',
|
||||
'-Werror=return-type',
|
||||
'-Werror=switch',
|
||||
'-Werror=sign-compare',
|
||||
'-Wfatal-errors',
|
||||
|
Loading…
Reference in New Issue
Block a user