Commit d1f35c88 authored by Janne Grunau's avatar Janne Grunau
Browse files

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

parent e5402869
Pipeline #771 passed with stage
in 1 minute and 6 seconds
......@@ -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')
......
Supports Markdown
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