Package: minbif
Version: 1:1.0~beta+git20091001+9f03d91-1
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-4.4/g++-4.4 from unstable.
> Automatic build of minbif_1:1.0~beta+git20091001+9f03d91-1 on em64t by
> sbuild/amd64 0.53
...
> [ 28%] Building CXX object CMakeFiles/minbif.dir/src/server_poll/inetd.cpp.o
> /usr/bin/c++ -g -O2 -DUSE_CACA -DDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64
> -Werror -Wall -Wextra -Wno-unused-parameter -I/usr/include/libpurple
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I"/build/tbm/minbif-1.0~beta+git20091001+9f03d91/src" -o
> CMakeFiles/minbif.dir/src/server_poll/inetd.cpp.o -c
> "/build/tbm/minbif-1.0~beta+git20091001+9f03d91/src/server_poll/inetd.cpp"
> In file included from
> /build/tbm/minbif-1.0~beta+git20091001+9f03d91/src/server_poll/inetd.cpp:23:
> /build/tbm/minbif-1.0~beta+git20091001+9f03d91/src/server_poll/../irc/irc.h:167:
> error: 'uint32_t' has not been declared
> /build/tbm/minbif-1.0~beta+git20091001+9f03d91/src/server_poll/../irc/irc.h:168:
> error: 'uint16_t' has not been declared
> make[3]: *** [CMakeFiles/minbif.dir/src/server_poll/inetd.cpp.o] Error 1
--- src/irc/irc.h~ 2009-10-05 12:57:20.000000000 +0000
+++ src/irc/irc.h 2009-10-05 12:59:02.000000000 +0000
@@ -19,6 +19,7 @@
#ifndef IRC_IRC_H
#define IRC_IRC_H
+#include <stdint.h>
#include <string>
#include <map>
#include <exception>
--- src/irc/user.cpp~ 2009-10-05 13:00:31.000000000 +0000
+++ src/irc/user.cpp 2009-10-05 13:00:38.000000000 +0000
@@ -17,6 +17,8 @@
#include "user.h"
+#include <cstdio>
+
namespace irc {
User::User(int _fd, Server* server, string nickname, string identname, string
hostname, string realname)
--- src/irc/dcc.h~ 2009-10-05 13:00:51.000000000 +0000
+++ src/irc/dcc.h 2009-10-05 13:01:01.000000000 +0000
@@ -20,6 +20,7 @@
#include <exception>
#include <string>
+#include <stdint.h>
#include <stdio.h>
#include "im/ft.h"
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]