diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index 8d3f8c32fc..44007861c2 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -115,6 +115,7 @@ class Board: '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-trigraphs', + '-Wno-format-contains-nul', '-Werror=shadow', '-Werror=return-type', '-Werror=unused-result', @@ -175,6 +176,7 @@ class Board: '-Wno-redundant-decls', '-Wno-unknown-pragmas', '-Wno-expansion-to-defined', + '-Wno-format-contains-nul', '-Werror=attributes', '-Werror=format-security', '-Werror=format-extra-args',