Package: ember
Version: 0.5.6-1
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.4
Tags: patch

Your package fails to build with GCC 4.4, which has 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-4.4/g++-4.4 from unstable.

> Automatic build of ember_0.5.6-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I../../src -I../../src -g -O2 -g -Wall -O2 
> -I/usr/X11R6/include -I/usr/include -I/usr/include/CEGUI -DOGRE_GUI_GLX 
> -DOGRE_CONFIG_LITTLE_ENDIAN -I/usr/include/OGRE -I/usr/include/CEGUI 
> -I/usr/include/lua5.1 -DLUA51 -I/usr/include/sigc++-2.0 
> -I/usr/lib/sigc++-2.0/include -I/usr/include/Eris-1.3 
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include 
> -I/usr/include/skstream-0.3 -I/usr/lib/skstream-0.3/include 
> -I/usr/include/Atlas-C++-0.6 -I/usr/include/wfmath-0.3 
> -I/usr/include/varconf-1.0 -I/usr/include/Mercator-0.2 
> -I/usr/include/libwfut-0.2 -DNDEBUG -I/usr/include/SDL -D_GNU_SOURCE=1 
> -D_REENTRANT -c Log.cpp  -fPIC -DPIC -o .libs/Log.o
> Log.cpp: In static member function 'static void Ember::Log::logVarParam(const 
> char*, int, Ember::Log::MessageImportance, const char*, __va_list_tag*)':
> Log.cpp:94: error: 'vsprintf' was not declared in this scope
> make[5]: *** [Log.lo] Error 1
> make[5]: Leaving directory `/build/tbm/ember-0.5.6/src/framework'

--- src/framework/Log.cpp~      2009-09-17 13:28:12.000000000 +0000
+++ src/framework/Log.cpp       2009-09-17 13:28:19.000000000 +0000
@@ -28,6 +28,7 @@
 #include "LogObserver.h"
 #include "LoggingInstance.h"
 #include <algorithm>
+#include <cstdio>
 
 
 
--- src/framework/LoggingInstance.cpp~  2009-09-17 13:28:34.000000000 +0000
+++ src/framework/LoggingInstance.cpp   2009-09-17 13:28:41.000000000 +0000
@@ -25,6 +25,7 @@
 #endif
 
 #include "LoggingInstance.h"
+#include <cstdio>
 #include <sstream>
 
 namespace Ember {

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to