[Bf-blender-cvs] [5653653] depsgraph_refactor: Depsgraph: Compile fixes on mingw

Joshua Leung noreply at git.blender.org
Fri Jan 30 00:40:08 CET 2015


Commit: 5653653e57feef95c2648eed020b12669d561374
Author: Joshua Leung
Date:   Fri Jan 30 12:39:41 2015 +1300
Branches: depsgraph_refactor
https://developer.blender.org/rB5653653e57feef95c2648eed020b12669d561374

Depsgraph: Compile fixes on mingw

Seems that there were still too many headers removed, with sprintf and BLI_sprintf
not available.

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

M	source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
M	source/blender/depsgraph/intern/depsgraph_tag.cpp
M	source/blender/depsgraph/intern/depsnode.cpp
M	source/blender/depsgraph/intern/depsnode_component.cpp

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

diff --git a/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp b/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
index d517cb7..277843c 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_debug_ogdf.cpp
@@ -43,6 +43,7 @@
 extern "C" {
 #include "BLI_listbase.h"
 #include "BLI_ghash.h"
+#include "BLI_string.h"
 #include "BLI_utildefines.h"
 
 #include "DNA_scene_types.h"
diff --git a/source/blender/depsgraph/intern/depsgraph_tag.cpp b/source/blender/depsgraph/intern/depsgraph_tag.cpp
index c7b0533..245b4fa 100644
--- a/source/blender/depsgraph/intern/depsgraph_tag.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_tag.cpp
@@ -26,6 +26,7 @@
  * Core routines for how the Depsgraph works
  */
 
+#include <stdio.h>
 #include <cstring>
 #include <queue>
 
diff --git a/source/blender/depsgraph/intern/depsnode.cpp b/source/blender/depsgraph/intern/depsnode.cpp
index 4229b92..a8675f7 100644
--- a/source/blender/depsgraph/intern/depsnode.cpp
+++ b/source/blender/depsgraph/intern/depsnode.cpp
@@ -24,6 +24,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
+#include <stdio.h>
 #include <string.h>
 
 #include "BLI_utildefines.h"
diff --git a/source/blender/depsgraph/intern/depsnode_component.cpp b/source/blender/depsgraph/intern/depsnode_component.cpp
index 9ae00a7..f375782 100644
--- a/source/blender/depsgraph/intern/depsnode_component.cpp
+++ b/source/blender/depsgraph/intern/depsnode_component.cpp
@@ -24,6 +24,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
+#include <stdio.h>
 #include <string.h>
 
 extern "C" {




More information about the Bf-blender-cvs mailing list