mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: make initialiser reordering fatal
we were bitten by a nasty bug in CAN because of constructor reordering
This commit is contained in:
parent
3e0c0132c8
commit
8a58642cd1
@ -361,10 +361,10 @@ class Board:
|
|||||||
'-Wpointer-arith',
|
'-Wpointer-arith',
|
||||||
'-Wno-unused-parameter',
|
'-Wno-unused-parameter',
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
'-Wno-reorder',
|
|
||||||
'-Wno-redundant-decls',
|
'-Wno-redundant-decls',
|
||||||
'-Wno-unknown-pragmas',
|
'-Wno-unknown-pragmas',
|
||||||
'-Wno-expansion-to-defined',
|
'-Wno-expansion-to-defined',
|
||||||
|
'-Werror=reorder',
|
||||||
'-Werror=cast-align',
|
'-Werror=cast-align',
|
||||||
'-Werror=attributes',
|
'-Werror=attributes',
|
||||||
'-Werror=format-security',
|
'-Werror=format-security',
|
||||||
|
Loading…
Reference in New Issue
Block a user