[Bf-blender-cvs] [0b01cc1] master: Compile Fix: fix for gcc4.8 with bmesh header.

Campbell Barton noreply at git.blender.org
Mon Nov 18 13:55:01 CET 2013


Commit: 0b01cc131650c25ec41ad2f2354c1d6c711c3664
Author: Campbell Barton
Date:   Mon Nov 18 23:54:07 2013 +1100
http://developer.blender.org/rB0b01cc131650c25ec41ad2f2354c1d6c711c3664

Compile Fix: fix for gcc4.8 with bmesh header.

===================================================================

M	source/blender/bmesh/intern/bmesh_polygon.h

===================================================================

diff --git a/source/blender/bmesh/intern/bmesh_polygon.h b/source/blender/bmesh/intern/bmesh_polygon.h
index 5d98a9a..4b3b7f4 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.h
+++ b/source/blender/bmesh/intern/bmesh_polygon.h
@@ -29,7 +29,7 @@
 
 #include "BLI_compiler_attrs.h"
 
-void  BM_bmesh_calc_tessellation(BMesh *bm, BMLoop *(*looptris)[], int *r_looptris_tot);
+void  BM_bmesh_calc_tessellation(BMesh *bm, BMLoop *(*looptris)[3], int *r_looptris_tot);
 
 int   BM_face_calc_tessellation(const BMFace *f, BMLoop **r_loops, int (*r_index)[3]) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL();
 void  BM_face_calc_normal(const BMFace *f, float r_no[3]) ATTR_NONNULL();




More information about the Bf-blender-cvs mailing list