build: add -Wformat=2 -Walloca
This commit is contained in:
parent
cf5b09ede2
commit
4b43aebdc7
|
@ -36,6 +36,8 @@ add_project_arguments(cc.get_supported_arguments([
|
||||||
'-Wstrict-aliasing=2',
|
'-Wstrict-aliasing=2',
|
||||||
'-Woverflow',
|
'-Woverflow',
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
|
'-Wformat=2',
|
||||||
|
'-Walloca',
|
||||||
|
|
||||||
'-Wno-missing-braces',
|
'-Wno-missing-braces',
|
||||||
'-Wno-missing-field-initializers',
|
'-Wno-missing-field-initializers',
|
||||||
|
|
Loading…
Reference in New Issue