Disable warning 4267 for msvc

Spams the console due to 32bit data types on 64bit.
This commit is contained in:
dhewg 2012-07-06 00:27:26 +02:00 committed by Daniel Gibson
parent d832144482
commit f4f8319316

View file

@ -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")