mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 12:53:09 +00:00
Disable warning 4267 for msvc
Spams the console due to 32bit data types on 64bit.
This commit is contained in:
parent
d6dd8c636b
commit
78822ac932
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