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>2013-09-03 08:39:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-03 08:39:12 +0400
commit2dc988df8c053517d74f9280435e0a55a449a4c6 (patch)
tree40d9a6cbd033c4764063500c813dbe14c2cc133a /source/blender/blenlib
parent8f1e51a7d96a469718e5281aac66ac086da474a1 (diff)
reorder BLI_strict_flags.h include so its not conflicting with stdio.h on apple.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_strict_flags.h4
-rw-r--r--source/blender/blenlib/intern/BLI_mempool.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/BLI_strict_flags.h b/source/blender/blenlib/BLI_strict_flags.h
index 18d899e5702..5c5a6f45f0c 100644
--- a/source/blender/blenlib/BLI_strict_flags.h
+++ b/source/blender/blenlib/BLI_strict_flags.h
@@ -31,9 +31,7 @@
# pragma GCC diagnostic error "-Wsign-conversion"
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 /* gcc4.6+ only */
# pragma GCC diagnostic error "-Wsign-compare"
-# ifndef __APPLE__ /* gcc4.6+ on Apple would fail in stdio.h */
-# pragma GCC diagnostic error "-Wconversion"
-# endif
+# pragma GCC diagnostic error "-Wconversion"
# endif
# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 /* gcc4.8+ only (behavior changed to ignore globals)*/
# pragma GCC diagnostic error "-Wshadow"
diff --git a/source/blender/blenlib/intern/BLI_mempool.c b/source/blender/blenlib/intern/BLI_mempool.c
index feeda151b5b..febf09745fb 100644
--- a/source/blender/blenlib/intern/BLI_mempool.c
+++ b/source/blender/blenlib/intern/BLI_mempool.c
@@ -36,7 +36,6 @@
#include "BLI_utildefines.h"
#include "BLI_listbase.h"
-#include "BLI_strict_flags.h"
#include "BLI_mempool.h" /* own include */
@@ -44,6 +43,9 @@
#include "MEM_guardedalloc.h"
+#include "BLI_strict_flags.h" /* keep last */
+
+
/* note: copied from BLO_blend_defs.h, don't use here because we're in BLI */
#ifdef __BIG_ENDIAN__
/* Big Endian */