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 /source/blender/blenlib/BLI_winstuff.h | |
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 'source/blender/blenlib/BLI_winstuff.h')
-rw-r--r-- | source/blender/blenlib/BLI_winstuff.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_winstuff.h b/source/blender/blenlib/BLI_winstuff.h index 1959d5171fb..f615e5a9300 100644 --- a/source/blender/blenlib/BLI_winstuff.h +++ b/source/blender/blenlib/BLI_winstuff.h @@ -37,9 +37,7 @@ # error "This include is for Windows only!" #endif -#ifndef FREE_WINDOWS -# pragma warning(once: 4761 4305 4244 4018) -#else +#ifdef FREE_WINDOWS # ifdef WINVER # undef WINVER # endif |