Enable compiler flag -Wvla

This commit is contained in:
Rui Abreu Ferreira 2015-09-24 17:17:04 +01:00
parent e70d6283b6
commit 2c6f74d6d6

View File

@ -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)