View | Details | Raw Unified | Return to bug 198447
Collapse All | Expand All

(-)graphics/blender/files/patch-source__blender__blenlib__BLI_compiler_typecheck.h (+11 lines)
Line 0 Link Here
1
--- source/blender/blenlib/BLI_compiler_typecheck.h.orig	2015-01-13 06:58:28.000000000 +0100
2
+++ source/blender/blenlib/BLI_compiler_typecheck.h	2015-03-09 08:35:48.662916000 +0100
3
@@ -60,7 +60,7 @@
4
 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
5
 #  define CHECK_TYPE_INLINE(val, type) \
6
 	(void)((void)(((type)0) != (0 ? (val) : ((type)0))), \
7
-	       _Generic((val), type: 0, const type: 0))
8
+	       _Generic((0, val), type: 0, const type: 0))
9
 #else
10
 #  define CHECK_TYPE_INLINE(val, type) \
11
 	((void)(((type)0) != (0 ? (val) : ((type)0))))
(-)graphics/blender/files/patch-source__blender__editors__include__BIF_gl.h (+19 lines)
Line 0 Link Here
1
--- source/blender/editors/include/BIF_gl.h.orig	2015-01-21 13:31:24.000000000 +0100
2
+++ source/blender/editors/include/BIF_gl.h	2015-03-09 08:44:01.942737000 +0100
3
@@ -54,14 +54,14 @@
4
 
5
 #if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
6
 #  define glMultMatrixf(x)  \
7
-	glMultMatrixf(_Generic((x), \
8
+	glMultMatrixf(_Generic((0, x), \
9
 	        float *:      (float *)(x), \
10
 	        float (*)[4]: (float *)(x), \
11
 	        const float *:      (float *)(x), \
12
 	        const float (*)[4]: (float *)(x)) \
13
 )
14
 #  define glLoadMatrixf(x)  \
15
-	glLoadMatrixf(_Generic((x), \
16
+	glLoadMatrixf(_Generic((0, x), \
17
 	        float *:      (float *)(x), \
18
 	        float (*)[4]: (float *)(x)) \
19
 )

Return to bug 198447