-Wno-vla -> -Wvla Advice from the build folks changed. See b/141974065. Change-Id: Ib981018ed49ef04d1f87a91b0ef8f7bc4bd524f7 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/37964 Commit-Queue: Adam Langley <agl@google.com> Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt index 15d1df2..66596af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -117,7 +117,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CLANG) # Note clang-cl is odd and sets both CLANG and MSVC. We base our configuration # primarily on our normal Clang one. - set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wno-vla") + set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla") if(MSVC) # clang-cl sets different default warnings than clang. It also treats -Wall # as -Weverything, to match MSVC. Instead -W3 is the alias for -Wall.