Commit d1f35c88 authored by Janne Grunau's avatar Janne Grunau

build: use -Werror=vla to prevent variable length arrays

parent e5402869
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment