mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 20:27:56 +08:00
14 lines
643 B
Diff
14 lines
643 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 24fd87e..974064c 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -382,7 +382,7 @@ else()
|
||
|
usFunctionCheckCompilerFlags(-fstack-protector-all US_CXX_FLAGS)
|
||
|
endif()
|
||
|
|
||
|
- foreach(_cxxflag -Werror -Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align
|
||
|
+ foreach(_cxxflag -Wall -Wextra -Wpointer-arith -Winvalid-pch -Wcast-align
|
||
|
-Wwrite-strings -Woverloaded-virtual -Wnon-virtual-dtor -Wold-style-cast
|
||
|
-Wstrict-null-sentinel -Wsign-promo -fdiagnostics-show-option )
|
||
|
usFunctionCheckCompilerFlags(${_cxxflag} US_CXX_FLAGS)
|