build: add -Wformat=2 -Walloca

master
Simon Ser 4 years ago
parent cf5b09ede2
commit 4b43aebdc7

@ -36,6 +36,8 @@ add_project_arguments(cc.get_supported_arguments([
'-Wstrict-aliasing=2',
'-Woverflow',
'-Wmissing-prototypes',
'-Wformat=2',
'-Walloca',
'-Wno-missing-braces',
'-Wno-missing-field-initializers',

Loading…
Cancel
Save