Package: enigma
Version: 1.01-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 enigma_1.01-3 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -g -Wall -O2 -DENABLE_ASSERT -O2
> -ffast-math -fomit-frame-pointer -DCXXLUA
> -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\"
> -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/lua -I../lib-src/enigma-core
> -I../lib-src/enet/include -I../lib-src -I../intl -I/usr/include/SDL
> -D_GNU_SOURCE=1 -D_REENTRANT -c -o PropertyManager.o PropertyManager.cc
> PropertyManager.cc: In member function 'void
> enigma::PropertyManager::setProperty(const char*, const double&)':
> PropertyManager.cc:81: error: 'sprintf' was not declared in this scope
> PropertyManager.cc: In member function 'void
> enigma::PropertyManager::setProperty(const char*, const int&)':
> PropertyManager.cc:105: error: 'sprintf' was not declared in this scope
> make[3]: *** [PropertyManager.o] Error 1
> make[3]: Leaving directory `/build/tbm/enigma-1.01/build-tree/enigma-1.01/src'
> make[2]: *** [all] Error 2
--- enigma-1.01/src/gui/LevelPackComposer.cc~ 2008-11-11 20:42:16.000000000
+0000
+++ enigma-1.01/src/gui/LevelPackComposer.cc 2008-11-11 20:42:22.000000000
+0000
@@ -26,6 +26,7 @@
#include "sound.hh"
#include "video.hh"
#include "lev/Index.hh"
+#include <cstdio>
#include "main.hh"
--- enigma-1.01/src/lev/Index.cc~ 2008-11-11 20:43:48.000000000 +0000
+++ enigma-1.01/src/lev/Index.cc 2008-11-11 20:43:53.000000000 +0000
@@ -26,6 +26,7 @@
#include "StateManager.hh"
#include "lev/ScoreManager.hh"
#include "lev/RatingManager.hh"
+#include <cstdio>
namespace enigma { namespace lev {
--- enigma-1.01/src/PropertyManager.cc~ 2008-11-11 20:37:48.000000000 +0000
+++ enigma-1.01/src/PropertyManager.cc 2008-11-11 20:37:57.000000000 +0000
@@ -28,6 +28,7 @@
#include "XMLtoLocal.hh"
#include "XMLtoUtf8.hh"
#include "ecl_system.hh"
+#include <cstdio>
#include <iostream>
#include <xercesc/dom/DOM.hpp>
#include <xercesc/util/XMLDouble.hpp>
--- enigma-1.01/src/StateManager.cc~ 2008-11-11 20:38:28.000000000 +0000
+++ enigma-1.01/src/StateManager.cc 2008-11-11 20:38:34.000000000 +0000
@@ -31,6 +31,7 @@
#include "XMLtoUtf8.hh"
#include "ecl_system.hh"
#include "gui/ErrorMenu.hh"
+#include <cstdio>
#include <iostream>
#include <sstream>
#include <xercesc/dom/DOM.hpp>
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]