Package: kover
Version: 1:4-2
User: [email protected]
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 kover_1:4-2 on em64t by sbuild/amd64 0.53
...
> [ 58%] Building CXX object src/CMakeFiles/kover.dir/cddb_211_item.o
> [ 64%] Building CXX object src/CMakeFiles/kover.dir/inexact_dialog.o
> /build/tbm/kover-4/src/inexact_dialog.cc: In constructor 
> 'inexact_dialog::inexact_dialog(std::list<cddb_211_item*, 
> std::allocator<cddb_211_item*> >)':
> /build/tbm/kover-4/src/inexact_dialog.cc:49: error: 'snprintf' was not 
> declared in this scope
> make[3]: *** [src/CMakeFiles/kover.dir/inexact_dialog.o] Error 1
> make[3]: Leaving directory `/build/tbm/kover-4'

--- src/inexact_dialog.cc~      2009-04-29 16:42:29.000000000 +0000
+++ src/inexact_dialog.cc       2009-04-29 16:42:40.000000000 +0000
@@ -24,6 +24,8 @@
 #include <QLabel>
 #include <QPushButton>
 
+#include <cstdio>
+
 /**
  * The constructor inexact_dialog::inexact_dialog
  * constructing the dialog
--- src/directory.cc~   2009-04-29 16:43:11.000000000 +0000
+++ src/directory.cc    2009-04-29 16:43:21.000000000 +0000
@@ -8,6 +8,7 @@
 #include <sys/types.h>
 #include <dirent.h>
 #include <sys/stat.h>
+#include <cstdio>
 #include <cstring>
 
 directory::directory(string current_dir)

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