Commit: 988b4e2c80d85cdacc165a1ab660c5f481485c6a
Author: Jens Verwiebe
Date: Mon Aug 15 13:46:38 2016 +0200
Branches: master
https://developer.blender.org/rB988b4e2c80d85cdacc165a1ab660c5f481485c6a
Tentative compile fix after recent gpu debug changes
===================================================================
M source/blender/gpu/intern/gpu_debug.c
===================================================================
diff --git a/source/blender/gpu/intern/gpu_debug.c
b/source/blender/gpu/intern/gpu_debug.c
index 21458a2..8d1ab43 100644
--- a/source/blender/gpu/intern/gpu_debug.c
+++ b/source/blender/gpu/intern/gpu_debug.c
@@ -43,6 +43,10 @@
#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) {
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs