diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 154ef72f8b..7ccddaad10 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -361,10 +361,10 @@ class Board: '-Wpointer-arith', '-Wno-unused-parameter', '-Wno-missing-field-initializers', - '-Wno-reorder', '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-expansion-to-defined', + '-Werror=reorder', '-Werror=cast-align', '-Werror=attributes', '-Werror=format-security',