Package: boxbackup
Version: 0.11~rc3~r2502-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-snapshot from unstable or
gcc-4.4 from experimental.


> Automatic build of boxbackup_0.11~rc3~r2502-1 on em64t by sbuild/amd64 0.53
...
>   [CXX]     SSLLib.cpp
>   [CXX]     ServerControl.cpp
> ServerControl.cpp: In function 'bool KillServer(int, bool)':
> ServerControl.cpp:203: error: 'printf' was not declared in this scope
> ServerControl.cpp:206: error: 'printf' was not declared in this scope
> ServerControl.cpp:207: error: 'stdout' was not declared in this scope
> ServerControl.cpp:207: error: 'fflush' was not declared in this scope
> ServerControl.cpp:216: error: 'printf' was not declared in this scope
> ServerControl.cpp:220: error: 'printf' was not declared in this scope
> ServerControl.cpp:223: error: 'stdout' was not declared in this scope
> ServerControl.cpp:223: error: 'fflush' was not declared in this scope
> make[3]: *** [../../release/lib/server/ServerControl.o] Error 1
> make[3]: Leaving directory `/build/tbm/boxbackup-0.11~rc3~r2502/lib/server'
> make[2]: *** [dep_modules] Error 2

--- lib/server/ServerControl.cpp~       2009-04-29 16:18:00.000000000 +0000
+++ lib/server/ServerControl.cpp        2009-04-29 16:18:39.000000000 +0000
@@ -1,5 +1,6 @@
 #include "Box.h"
 
+#include <stdio.h>
 #include <errno.h>
 
 #ifdef HAVE_SYS_TYPES_H

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