Package: sear
Version: 0.6.3+cvs20080411-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 sear_0.6.3+cvs20080411-3 on em64t by sbuild/amd64 0.53
...
> make[3]: Entering directory `/build/tbm/sear-0.6.3+cvs20080411/common'
> g++ -DHAVE_CONFIG_H -I. -I.. -I..  -I /usr/X11R6/include -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/Mercator-0.2 
> -I/usr/include/wfmath-0.3 -I/usr/include/varconf-1.0 
> -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include 
> -I/usr/include/Eris-1.3 -I/usr/include/skstream-0.3 
> -I/usr/lib/skstream-0.3/include -I/usr/include/Atlas-C++-0.6 
> -I/usr/include/libwfut-0.2   -I/usr/include/libmodelfile-0.2        -g -O2 -g 
> -Wall -O2 -Wall -O3 -DNDEBUG -DATLAS_ELEMENT_TYPEDEF_PRIVATE=1 
> -DLIBSIGC_DISABLE_DEPRECATED=1 -c -o Log.o Log.cpp
> Log.cpp: In static member function 'static void Sear::Log::writeLog(const 
> std::string&, Sear::Log::LogLevel)':
> Log.cpp:33: error: 'printf' was not declared in this scope
> make[3]: *** [Log.o] Error 1
> make[3]: Leaving directory `/build/tbm/sear-0.6.3+cvs20080411/common'

--- common/Log.cpp~     2008-11-13 21:19:11.000000000 +0000
+++ common/Log.cpp      2008-11-13 21:19:32.000000000 +0000
@@ -6,6 +6,8 @@
 
 #include "Log.h"
 
+#include <cstdio>
+
 /* LOG AIMS
  * Will provide  ability to log each type to a different file
  * FREQUENT LOG ACTIONS SHOULD BE IN A #if #endif BLOCK and
--- src/CacheObject.cpp~        2008-11-13 21:27:51.000000000 +0000
+++ src/CacheObject.cpp 2008-11-13 21:27:59.000000000 +0000
@@ -4,6 +4,7 @@
 
 // $Id: CacheObject.cpp,v 1.2 2006-04-26 14:39:00 simon Exp $
 
+#include <cstdio>
 #include <string.h>
 
 #include "CacheObject.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