mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
Enable compiler flag -Wvla
This commit is contained in:
parent
e70d6283b6
commit
2c6f74d6d6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user