From d1f35c88e26a476ddc591dd04b5f1d4ce55a2af2 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Mon, 1 Oct 2018 20:40:27 +0200 Subject: build: use -Werror=vla to prevent variable length arrays --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index c65ca14..b5ee763 100644 --- a/meson.build +++ b/meson.build @@ -142,7 +142,7 @@ endif # it is not an error and silently tolerated optional_arguments = [ '-Wundef', - '-Wvla', # should be '-Werror=vla + '-Werror=vla', ] if (get_option('buildtype') != 'debug' and get_option('buildtype') != 'plain') -- cgit v1.2.3