mirror of
https://github.com/neovim/neovim.git
synced 2025-12-05 06:02:41 +00:00
Enable compiler flag -Wvla
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user