-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>
This commit is contained in:
parent
0e7dbd579b
commit
6a2609dae2
@ -117,7 +117,7 @@ endif()
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user