Package: pan
Version: 0.132-3.1
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 pan_0.132-3.1 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
> -D_LARGEFILE64_SOURCE -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -g -O2 -MT log.o -MD -MP -MF
> ".deps/log.Tpo" -c -o log.o log.cc; \
> then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo";
> exit 1; fi
> log.cc: In member function 'void pan::Log::add_va(pan::Log::Severity, const
> char*, ...)':
> log.cc:82: error: 'vsnprintf' was not declared in this scope
> log.cc: In static member function 'static void pan::Log::add_info_va(const
> char*, ...)':
> log.cc:94: error: 'vsnprintf' was not declared in this scope
> log.cc: In static member function 'static void pan::Log::add_err_va(const
> char*, ...)':
> log.cc:106: error: 'vsnprintf' was not declared in this scope
> log.cc: In static member function 'static void pan::Log::add_urgent_va(const
> char*, ...)':
> log.cc:118: error: 'vsnprintf' was not declared in this scope
> make[4]: *** [log.o] Error 1
> make[4]: Leaving directory `/build/tbm/pan-0.132/pan/general'
> make[3]: *** [all-recursive] Error 1
--- pan/general/log.cc~ 2008-11-07 20:32:24.000000000 +0000
+++ pan/general/log.cc 2008-11-07 20:32:31.000000000 +0000
@@ -20,6 +20,7 @@
#include <config.h>
#include <iostream>
#include <cstdarg>
+#include <cstdio>
#include "log.h"
using namespace pan;
--- pan/general/progress.cc~ 2008-11-07 20:33:09.000000000 +0000
+++ pan/general/progress.cc 2008-11-07 20:33:15.000000000 +0000
@@ -19,6 +19,7 @@
#include <config.h>
#include <cstdarg>
+#include <cstdio>
#include "progress.h"
#include "string-view.h"
--- pan/tasks/nntp.cc~ 2008-11-07 20:36:27.000000000 +0000
+++ pan/tasks/nntp.cc 2008-11-07 20:36:32.000000000 +0000
@@ -20,6 +20,7 @@
#include <config.h>
#include <cassert>
#include <cstdarg>
+#include <cstdio>
extern "C" {
#include <glib.h>
#include <glib/gi18n.h>
--- pan/tasks/nntp-pool.cc~ 2008-11-07 20:37:30.000000000 +0000
+++ pan/tasks/nntp-pool.cc 2008-11-07 20:37:42.000000000 +0000
@@ -18,6 +18,7 @@
*/
#include <config.h>
+#include <cstdio>
#include <ctime>
#include <glib/gi18n.h>
#include <pan/general/debug.h>
--- pan/usenet-utils/numbers.cc~ 2008-11-07 20:33:56.000000000 +0000
+++ pan/usenet-utils/numbers.cc 2008-11-07 20:34:02.000000000 +0000
@@ -19,6 +19,7 @@
#include <config.h>
#include <cctype>
+#include <cstdio>
#include <algorithm>
#include <pan/general/string-view.h>
#include "numbers.h"
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]