Disable MSVC warning C4309
> warning C4309: static_cast': truncation of constant value
introduced in commit 9db5b11c9c
This commit is contained in:
parent
a9ab38c171
commit
37bd5d525b
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ endif (protobuf_BUILD_SHARED_LIBS)
|
|||
if (MSVC)
|
||||
# Build with multiple processes
|
||||
add_definitions(/MP)
|
||||
add_definitions(/wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305)
|
||||
add_definitions(/wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305 /wd4309)
|
||||
# Allow big object
|
||||
add_definitions(/bigobj)
|
||||
string(REPLACE "/" "\\" PROTOBUF_SOURCE_WIN32_PATH ${protobuf_SOURCE_DIR})
|
||||
|
|
Loading…
Add table
Reference in a new issue