Fix g++ 4.3 issues; add missing <cstring> includes, remove storage class on explicit...
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 9 Dec 2007 14:21:11 +0000 (14:21 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 9 Dec 2007 14:21:11 +0000 (14:21 +0000)
git-svn-id: http://svn.voria.com/code@1190 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/ETL/_surface.h
synfig-core/trunk/src/synfig/blur.cpp
synfig-core/trunk/src/tool/main.cpp

index eae2df0..0770b85 100644 (file)
@@ -32,6 +32,7 @@
 #include "_pen.h"
 #include "_misc.h"
 #include <algorithm>
+#include <cstring>
 
 /* === M A C R O S ========================================================= */
 
index 4307a7e..0e91f3c 100644 (file)
@@ -128,7 +128,7 @@ static inline T zero()
 }
 
 template <>
-static inline Color zero<Color>()
+inline Color zero<Color>()
 {
        return Color::alpha();
 }
index 4f1618c..66efb3c 100644 (file)
@@ -35,6 +35,7 @@
 #include <list>
 #include <ETL/clock>
 #include <algorithm>
+#include <cstring>
 
 #include <synfig/loadcanvas.h>
 #include <synfig/savecanvas.h>