diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-19 10:37:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-19 10:37:02 +0400 |
commit | d76bcf98a385524579e7ed87b3e3ee89704b5fd6 (patch) | |
tree | 03410ad458b7cd123ef894f7a19f82e36fc191a1 /CMakeLists.txt | |
parent | c625658a92b9aa67aa41fa7529978d675dd40c20 (diff) |
MSVC: improve warnings for scons and cmake
Some int/float conversion warnings were disabled by buildsystems but
re-enabled by BLI_winstuff.h, the warnigns relate to conversions not
considered issues on other systems so better just quiet them.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f096461aa7..d0210e1ecce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1007,6 +1007,7 @@ elseif(WIN32) # disable: "/wd4018" # signed/unsigned mismatch "/wd4065" # switch statement contains 'default' but no 'case' labels + "/wd4127" # conditional expression is constant "/wd4181" # qualifier applied to reference type; ignored "/wd4200" # zero-sized array in struct/union "/wd4244" # conversion from 'type1' to 'type2', possible loss of data |