From: pabs Date: Sun, 9 Dec 2007 14:21:11 +0000 (+0000) Subject: Fix g++ 4.3 issues; add missing includes, remove storage class on explicit... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4b886acca3929def466b0fb6a948bb5c37029190;p=synfig.git Fix g++ 4.3 issues; add missing includes, remove storage class on explicit template specialization. Patch by Cyril Brulebois. git-svn-id: http://svn.voria.com/code@1190 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/ETL/trunk/ETL/_surface.h b/ETL/trunk/ETL/_surface.h index eae2df0..0770b85 100644 --- a/ETL/trunk/ETL/_surface.h +++ b/ETL/trunk/ETL/_surface.h @@ -32,6 +32,7 @@ #include "_pen.h" #include "_misc.h" #include +#include /* === M A C R O S ========================================================= */ diff --git a/synfig-core/trunk/src/synfig/blur.cpp b/synfig-core/trunk/src/synfig/blur.cpp index 4307a7e..0e91f3c 100644 --- a/synfig-core/trunk/src/synfig/blur.cpp +++ b/synfig-core/trunk/src/synfig/blur.cpp @@ -128,7 +128,7 @@ static inline T zero() } template <> -static inline Color zero() +inline Color zero() { return Color::alpha(); } diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 4f1618c..66efb3c 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include #include