diff options
author | Janne Grunau <janne-vlc@jannau.net> | 2018-10-01 21:40:27 +0300 |
---|---|---|
committer | Janne Grunau <janne-vlc@jannau.net> | 2018-10-01 21:40:27 +0300 |
commit | d1f35c88e26a476ddc591dd04b5f1d4ce55a2af2 (patch) | |
tree | 1b6f32a90857a424003c85b84c0baa9c6c3ed6ae /meson.build | |
parent | e54028690a6afaf825b4bd04be6638692b855964 (diff) |
build: use -Werror=vla to prevent variable length arrays
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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') |