diff options
author | Simon Ser <contact@emersion.fr> | 2021-02-23 16:41:26 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-23 16:41:26 +0100 |
commit | 4b43aebdc7eded8318a1afebd6617f2ddcaade42 (patch) | |
tree | 95ae163c053a4fdb6c0afe7bbcda51d6a7f366d6 | |
parent | cf5b09ede2951e92085fd9fec03c99460d87f1af (diff) |
build: add -Wformat=2 -Walloca
-rw-r--r-- | meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 5d199c09..144c0de6 100644 --- a/meson.build +++ b/meson.build @@ -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', |