Warn on the use of VLAs

This commit is contained in:
Erik Frojdh 2020-07-29 14:39:34 +02:00
parent 91652df5b1
commit 5ba3a414d6

View File

@ -97,6 +97,7 @@ target_compile_options(slsProjectWarnings INTERFACE
-Wformat=2 -Wformat=2
-Wredundant-decls -Wredundant-decls
# -Wconversion # -Wconversion
-Wvla
-Wdouble-promotion -Wdouble-promotion
-Werror=return-type -Werror=return-type