Package: boxbackup
Version: 0.11~rc2-4
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 boxbackup_0.11~rc2-4 on em64t by sbuild/amd64 0.53
...
> [CXX]     InvisibleTempFileStream.cpp
> [CXX]     Logging.cpp
> Logging.cpp: In member function 'virtual bool Console::Log(Log::Level, const 
> std::string&, int, std::string&)':
> Logging.cpp:251: error: 'stdout' was not declared in this scope
> Logging.cpp:255: error: 'stderr' was not declared in this scope
> Logging.cpp:320: error: 'fprintf' was not declared in this scope
> make[3]: *** [../../release/lib/common/Logging.o] Error 1
> make[3]: Leaving directory `/build/tbm/boxbackup-0.11~rc2/lib/common'

--- lib/common/Logging.cpp~     2008-11-14 13:13:03.000000000 +0000
+++ lib/common/Logging.cpp      2008-11-14 13:13:15.000000000 +0000
@@ -58,6 +58,7 @@
 
 #include "Logging.h"
 
+#include <cstdio>
 #include <iomanip>
 
 #include "BoxTime.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