aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2015-09-24 17:17:04 +0100
committerRui Abreu Ferreira <raf-ep@gmx.com>2015-09-24 17:41:03 +0100
commit2c6f74d6d67208389a431aa5599b15899c16741a (patch)
tree92c384f25736725ced7edd3761268c0c75ca3105
parente70d6283b6412dd4cafc5566b3672b7a65c6307b (diff)
downloadrneovim-2c6f74d6d67208389a431aa5599b15899c16741a.tar.gz
rneovim-2c6f74d6d67208389a431aa5599b15899c16741a.tar.bz2
rneovim-2c6f74d6d67208389a431aa5599b15899c16741a.zip
Enable compiler flag -Wvla
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c637ced90..5d6082b857 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -121,7 +121,7 @@ if(MSVC)
add_definitions(/W3 -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
else()
add_definitions(-Wall -Wextra -pedantic -Wno-unused-parameter
- -Wstrict-prototypes -std=gnu99)
+ -Wstrict-prototypes -Wvla -std=gnu99)
endif()
if(MINGW)