Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-02-19 10:37:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-19 10:37:02 +0400
commitd76bcf98a385524579e7ed87b3e3ee89704b5fd6 (patch)
tree03410ad458b7cd123ef894f7a19f82e36fc191a1 /source/blender/blenlib/intern/noise.c
parentc625658a92b9aa67aa41fa7529978d675dd40c20 (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/intern/noise.c')
-rw-r--r--source/blender/blenlib/intern/noise.c6
1 files changed, 0 insertions, 6 deletions
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 <math.h>
#include "BLI_noise.h"