From da56d4c1d671587c588fcda8f1d774651948739d Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Sun, 31 Aug 2014 10:55:32 +0000 Subject: [PATCH] [CMAKE] - Disable C4244 (implicit integer truncation) warning on MSVC builds because it causes people to add broken casts that make the situation worse. svn path=/trunk/; revision=64003 --- reactos/cmake/msvc.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/cmake/msvc.cmake b/reactos/cmake/msvc.cmake index fe2ec991c8c..7b3b2726e20 100644 --- a/reactos/cmake/msvc.cmake +++ b/reactos/cmake/msvc.cmake @@ -36,10 +36,10 @@ endif () # 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