From d76bcf98a385524579e7ed87b3e3ee89704b5fd6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 19 Feb 2014 17:37:02 +1100 Subject: 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. --- source/blender/blenlib/intern/noise.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/blender/blenlib/intern/noise.c') diff --git a/source/blender/blenlib/intern/noise.c b/source/blender/blenlib/intern/noise.c index 5b9fefe77bb..982a74b1ffd 100644 --- a/source/blender/blenlib/intern/noise.c +++ b/source/blender/blenlib/intern/noise.c @@ -30,12 +30,6 @@ * \ingroup bli */ - -#ifdef _MSC_VER -# pragma warning (disable:4244) /* "conversion from double to float" */ -# pragma warning (disable:4305) /* "truncation from const double to float" */ -#endif - #include #include "BLI_noise.h" -- cgit v1.2.3