Package: bobot++
Version: 1:1.97-10.2
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 bobot++_1:1.97-10.2 on em64t by sbuild/amd64 0.53
...
> g++ -Wall -O2 -DHAVE_STL_CLEAR  -DUSESCRIPTS -DMULTITHREAD  -c String.C
> String.C: In constructor 'String::String(long int)':
> String.C:50: error: 'sprintf' was not declared in this scope
> make[2]: *** [String.o] Error 1
> make[2]: Leaving directory `/build/tbm/bobot++-1.97/source'

--- source/String.C~    2008-11-11 21:49:53.000000000 +0000
+++ source/String.C     2008-11-11 21:49:59.000000000 +0000
@@ -17,6 +17,7 @@
 
 #include "String.H"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <cctype>

-- 
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