[Bf-blender-cvs] [98e136e] depsgraph_refactor: More mingw64 & c++11 - Python vs Math (::hypot) issue

Joshua Leung noreply at git.blender.org
Wed Dec 3 12:55:51 CET 2014


Commit: 98e136ee2f45d78d4f732c57ca34917108c2f8c1
Author: Joshua Leung
Date:   Thu Dec 4 00:36:04 2014 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB98e136ee2f45d78d4f732c57ca34917108c2f8c1

More mingw64 & c++11 - Python vs Math  (::hypot) issue

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

M	intern/cycles/blender/blender_python.cpp

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

diff --git a/intern/cycles/blender/blender_python.cpp b/intern/cycles/blender/blender_python.cpp
index dd45ae0..c743325 100644
--- a/intern/cycles/blender/blender_python.cpp
+++ b/intern/cycles/blender/blender_python.cpp
@@ -14,6 +14,7 @@
  * limitations under the License
  */
 
+#include <cmath>
 #include <Python.h>
 
 #include "CCL_api.h"




More information about the Bf-blender-cvs mailing list