aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-02-02 11:09:23 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-02-02 23:51:09 +0100
commit48cfe47a6d1ef26030d7e2bb80e33be9fc76f569 (patch)
tree20106fe7a72b0712ce015e70a4cb70a2733838af
parentc09656c5e1377e1f987b7a30fe6c96b86af220d7 (diff)
boringssl silences its own warnings
-rw-r--r--CMakeLists.txt2
-rw-r--r--templates/CMakeLists.txt.template2
2 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d59cd634cb..ed7a76ebf4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,8 +91,6 @@ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
if (MSVC)
add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS)
- # needed to compile boringssl
- add_definitions(/wd4464 /wd4623 /wd4668 /wd4701 /wd4702 /wd4777 /wd5027)
# needed to compile protobuf
add_definitions(/wd4065 /wd4506)
# TODO(jtattermusch): revisit C4267 occurrences throughout the code
diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template
index 837f0d058f..57ecb93eb8 100644
--- a/templates/CMakeLists.txt.template
+++ b/templates/CMakeLists.txt.template
@@ -135,8 +135,6 @@
if (MSVC)
add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS)
- # needed to compile boringssl
- add_definitions(/wd4464 /wd4623 /wd4668 /wd4701 /wd4702 /wd4777 /wd5027)
# needed to compile protobuf
add_definitions(/wd4065 /wd4506)
# TODO(jtattermusch): revisit C4267 occurrences throughout the code