waf: make format errors fatal

This commit is contained in:
Peter Barker 2019-08-30 20:02:13 +10:00 committed by Andrew Tridgell
parent 7dda87fd44
commit a4a1536614

View File

@ -106,7 +106,7 @@ class Board:
'-Wall',
'-Wextra',
'-Wformat',
'-Werror=format',
'-Wpointer-arith',
'-Wcast-align',
'-Wundef',
@ -166,7 +166,6 @@ class Board:
'-Wall',
'-Wextra',
'-Wformat',
'-Wpointer-arith',
'-Wcast-align',
'-Wundef',
@ -181,6 +180,7 @@ class Board:
'-Werror=format-security',
'-Werror=format-extra-args',
'-Werror=enum-compare',
'-Werror=format',
'-Werror=array-bounds',
'-Werror=uninitialized',
'-Werror=init-self',