mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ardupilotwaf: Add -Wno-format-contains-nul
MAV_FTP benefits quite a lot from using null's in it's print strings
This commit is contained in:
parent
14bf946fe2
commit
7b2fdec211
@ -115,6 +115,7 @@ class Board:
|
|||||||
'-Wno-redundant-decls',
|
'-Wno-redundant-decls',
|
||||||
'-Wno-unknown-pragmas',
|
'-Wno-unknown-pragmas',
|
||||||
'-Wno-trigraphs',
|
'-Wno-trigraphs',
|
||||||
|
'-Wno-format-contains-nul',
|
||||||
'-Werror=shadow',
|
'-Werror=shadow',
|
||||||
'-Werror=return-type',
|
'-Werror=return-type',
|
||||||
'-Werror=unused-result',
|
'-Werror=unused-result',
|
||||||
@ -175,6 +176,7 @@ class Board:
|
|||||||
'-Wno-redundant-decls',
|
'-Wno-redundant-decls',
|
||||||
'-Wno-unknown-pragmas',
|
'-Wno-unknown-pragmas',
|
||||||
'-Wno-expansion-to-defined',
|
'-Wno-expansion-to-defined',
|
||||||
|
'-Wno-format-contains-nul',
|
||||||
'-Werror=attributes',
|
'-Werror=attributes',
|
||||||
'-Werror=format-security',
|
'-Werror=format-security',
|
||||||
'-Werror=format-extra-args',
|
'-Werror=format-extra-args',
|
||||||
|
Loading…
Reference in New Issue
Block a user