Author: tfaber Date: Sun Aug 31 10:55:32 2014 New Revision: 64003
URL: http://svn.reactos.org/svn/reactos?rev=64003&view=rev Log: [CMAKE] - Disable C4244 (implicit integer truncation) warning on MSVC builds because it causes people to add broken casts that make the situation worse.
Modified: trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=64003&... ============================================================================== --- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Sun Aug 31 10:55:32 2014 @@ -36,10 +36,10 @@ # Disable overly sensitive warnings as well as those that generally aren't # useful to us. # - TODO: C4018: signed/unsigned mismatch -# - TODO: C4244: integer truncation +# - C4244: implicit integer truncation # - C4290: C++ exception specification ignored #add_compile_flags("/wd4018 /wd4244 /wd4290") -add_compile_flags("/wd4290") +add_compile_flags("/wd4290 /wd4244")
# The following warnings are treated as errors: # - C4013: implicit function declaration