mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 13:31:18 +00:00
Disable warning 4267 for msvc
Spams the console due to 32bit data types on 64bit.
This commit is contained in:
parent
d832144482
commit
f4f8319316
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ elseif (MSVC)
|
|||
add_definitions(/wd4127) # conditional expression is constant
|
||||
add_definitions(/wd4244) # possible loss of data
|
||||
add_definitions(/wd4245) # signed/unsigned mismatch
|
||||
add_definitions(/wd4267) # possible loss of data
|
||||
add_definitions(/wd4714) # 'function' marked as __forceinline not inlined
|
||||
add_definitions(/wd4996) # 'function': was declared deprecated
|
||||
set(CMAKE_C_FLAGS_DEBUG "-D_DEBUG /Od /Zi /MDd")
|
||||
|
|
Loading…
Reference in a new issue