Skip to content

Commit

Permalink
silence C4503 warning on MSVC (grpc#28375)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtattermusch authored Dec 16, 2021
1 parent de5f1ae commit 56f85ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions templates/CMakeLists.txt.template
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,8 @@
set(_gRPC_C_CXX_FLAGS "<%text>${_gRPC_C_CXX_FLAGS}</%text> /wd4267")
# TODO(jtattermusch): needed to build boringssl with VS2017, revisit later
set(_gRPC_C_CXX_FLAGS "<%text>${_gRPC_C_CXX_FLAGS}</%text> /wd4987 /wd4774 /wd4819 /wd4996 /wd4619")
# Silences thousands of trucation warnings
set(_gRPC_C_CXX_FLAGS "<%text>${_gRPC_C_CXX_FLAGS}</%text> /wd4503")
endif()
if (MINGW)
add_definitions(-D_WIN32_WINNT=0x600)
Expand Down

0 comments on commit 56f85ba

Please sign in to comment.