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.
This commit is contained in:
Campbell Barton
2014-02-19 17:37:02 +11:00
parent c625658a92
commit d76bcf98a3
7 changed files with 5 additions and 20 deletions

View File

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