From 2924a02a3561eed7899d5087f2a7a6c31529e18f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 1 Sep 2013 00:46:04 +0000 Subject: move strict compiler checks into a header so its easier to manage in one place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts). --- source/blender/blenlib/intern/edgehash.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'source/blender/blenlib/intern/edgehash.c') diff --git a/source/blender/blenlib/intern/edgehash.c b/source/blender/blenlib/intern/edgehash.c index 54ae0d385ef..967b59cf25d 100644 --- a/source/blender/blenlib/intern/edgehash.c +++ b/source/blender/blenlib/intern/edgehash.c @@ -38,14 +38,7 @@ #include "BLI_utildefines.h" #include "BLI_edgehash.h" #include "BLI_mempool.h" - -#ifdef __GNUC__ -# pragma GCC diagnostic error "-Wsign-conversion" -# if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 /* gcc4.6+ only */ -# pragma GCC diagnostic error "-Wsign-compare" -# pragma GCC diagnostic error "-Wconversion" -# endif -#endif +#include "BLI_strict_flags.h" /**************inlined code************/ static const unsigned int _ehash_hashsizes[] = { -- cgit v1.2.3