From 4b43aebdc7eded8318a1afebd6617f2ddcaade42 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 23 Feb 2021 16:41:26 +0100 Subject: [PATCH] build: add -Wformat=2 -Walloca --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 5d199c09e..144c0de65 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',