Variable-length-arrays are susceptible to security issues, ensure none
are introduced.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
UL_WARN_ADD([-Wunused-parameter])
UL_WARN_ADD([-Wunused-result])
UL_WARN_ADD([-Wunused-variable])
+UL_WARN_ADD([-Wvla])
AC_ARG_ENABLE([werror],
AS_HELP_STRING([--enable-werror], [make all compiler warnings into errors]),
'-Wunused-parameter',
'-Wunused-result',
'-Wunused-variable',
+ '-Wvla',
]
foreach compiler_flag : compiler_flags
if cc.has_argument(compiler_flag)