From ad4a01ec0fa72ab4626922e9d5d3dda1a46ca01b Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Mon, 15 Aug 2016 15:34:41 +0200 Subject: Fix OpenGL backtrace build errors, without disabling warnings. --- source/blender/gpu/intern/gpu_debug.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/intern/gpu_debug.c b/source/blender/gpu/intern/gpu_debug.c index 8d1ab43288a..af69c2fca36 100644 --- a/source/blender/gpu/intern/gpu_debug.c +++ b/source/blender/gpu/intern/gpu_debug.c @@ -30,6 +30,7 @@ */ #include "BLI_sys_types.h" +#include "BLI_system.h" #include "BKE_global.h" @@ -43,10 +44,6 @@ #define CASE_CODE_RETURN_STR(code) case code: return #code; -#if (defined(__GNUC__) && !defined(__clang__)) && defined(NDEBUG) -# pragma GCC diagnostic ignored "-Wimplicit-function-declaration" -#endif - static const char *gpu_gl_error_symbol(GLenum err) { switch (err) { -- cgit v1.2.3