From 5ba3a414d660f69b7c368d8fa3f7127ba099261d Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Wed, 29 Jul 2020 14:39:34 +0200 Subject: [PATCH] Warn on the use of VLAs --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4612e1287..581a83dc5 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -97,6 +97,7 @@ target_compile_options(slsProjectWarnings INTERFACE -Wformat=2 -Wredundant-decls # -Wconversion + -Wvla -Wdouble-promotion -Werror=return-type