[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30239] branches/soc-2010-jwilkins/source/ blender/blenlib/BLI_pbvh.h: * #pragma warning is only for MSVC

Jason Wilkins Jason.A.Wilkins at gmail.com
Mon Jul 12 22:07:55 CEST 2010


Revision: 30239
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30239
Author:   jwilkins
Date:     2010-07-12 22:07:55 +0200 (Mon, 12 Jul 2010)

Log Message:
-----------
* #pragma warning is only for MSVC

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h

Modified: branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h
===================================================================
--- branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h	2010-07-12 19:06:01 UTC (rev 30238)
+++ branches/soc-2010-jwilkins/source/blender/blenlib/BLI_pbvh.h	2010-07-12 20:07:55 UTC (rev 30239)
@@ -166,7 +166,10 @@
 	float *fno;
 } PBVHVertexIter;
 
+#ifdef _MSC_VER
 #pragma warning (disable:4127) // conditional expression is constant
+#endif
+
 #define BLI_pbvh_vertex_iter_begin(bvh, node, vi, mode) \
 	{ \
 		struct DMGridData **grids; \





More information about the Bf-blender-cvs mailing list