Package: synfig
Version: 0.61.08-3
User: [EMAIL PROTECTED]
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with the upcoming GCC 4.4.  Version 4.4
has not been released yet but I'm building with a snapshot in order
to find errors and give people an advance warning.

GCC 4.4 cleaned up some more C++ headers.  You always have to #include
headers directly and cannot rely for things to be included indirectly.

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of synfig_0.61.08-3 on em64t by sbuild/amd64 0.53
...
>  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I../.. -I../../src -I../../libltdl 
> -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include 
> -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 
> -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 
> -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 
> -I/usr/lib/sigc++-2.0/include -DSYNFIG_NO_DEPRECATED 
> -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib\" 
> -DSYSCONFDIR=\"/etc/synfig\" -DNDEBUG -g -O2 -W -Wall -MT 
> libsynfig_la-time.lo -MD -MP -MF .deps/libsynfig_la-time.Tpo -c time.cpp  
> -fPIC -DPIC -o .libs/libsynfig_la-time.o
> time.cpp: In constructor 'synfig::Time::Time(const synfig::String&, float)':
> time.cpp:105: error: 'sscanf' was not declared in this scope
> make[4]: *** [libsynfig_la-time.lo] Error 1
> make[4]: Leaving directory `/build/tbm/synfig-0.61.08/src/synfig'

--- src/synfig/time.cpp~        2008-11-08 06:35:14.000000000 +0000
+++ src/synfig/time.cpp 2008-11-08 06:35:26.000000000 +0000
@@ -35,6 +35,7 @@
 #include <ETL/misc>
 #include "general.h"
 #include <cmath>
+#include <cstdio>
 #include <cassert>
 #include <algorithm>
 #include <ctype.h>

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to