Package: havp
Version: 0.89-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 havp_0.89-1 on em64t by sbuild/amd64 0.53
...
> x86_64-linux-gnu-g++ -Wall -g -O2 -I/usr/include -Wall -g -O2 -DHAVE_CONFIG_H
> -c -o logfile.o logfile.cpp
> logfile.cpp: In static member function 'static void
> LogFile::AccessMessage(const char*, ...)':
> logfile.cpp:81: error: 'vsnprintf' was not declared in this scope
> logfile.cpp: In static member function 'static void
> LogFile::ErrorMessage(const char*, ...)':
> logfile.cpp:111: error: 'vsnprintf' was not declared in this scope
> make[2]: *** [logfile.o] Error 1
> make[2]: Leaving directory `/build/tbm/havp-0.89/havp'
--- havp/scanners/f-protscanner.cpp~ 2008-11-12 07:45:34.000000000 +0000
+++ havp/scanners/f-protscanner.cpp 2008-11-12 07:45:41.000000000 +0000
@@ -17,6 +17,8 @@
#include "f-protscanner.h"
+#include <cstdio>
+
bool FProtScanner::InitDatabase()
{
--- havp/scanners/drwebscanner.cpp~ 2008-11-12 07:46:02.000000000 +0000
+++ havp/scanners/drwebscanner.cpp 2008-11-12 07:46:07.000000000 +0000
@@ -17,6 +17,8 @@
#include "drwebscanner.h"
+#include <cstdio>
+
/* drweb-clients-4.33-sources */
/* -- SCAN_COMMANDS -------------------------------------------------- */
--- havp/logfile.cpp~ 2008-11-12 07:37:02.000000000 +0000
+++ havp/logfile.cpp 2008-11-12 07:37:09.000000000 +0000
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include <syslog.h>
#include <map>
+#include <cstdio>
#include <cstdlib>
#include <cstring>
--- havp/connectiontobrowser.cpp~ 2008-11-12 07:43:13.000000000 +0000
+++ havp/connectiontobrowser.cpp 2008-11-12 07:43:20.000000000 +0000
@@ -20,6 +20,7 @@
#include "params.h"
#include "utils.h"
+#include <cstdio>
#include <arpa/inet.h>
//Prepare Header for Server
--- havp/httphandler.cpp~ 2008-11-12 07:43:49.000000000 +0000
+++ havp/httphandler.cpp 2008-11-12 07:43:56.000000000 +0000
@@ -20,6 +20,8 @@
#include "utils.h"
#include "default.h"
+#include <cstdio>
+
//Read header
bool HTTPHandler::ReadHeader( string &headerT )
{
--- havp/connectiontohttp.cpp~ 2008-11-12 07:44:35.000000000 +0000
+++ havp/connectiontohttp.cpp 2008-11-12 07:44:41.000000000 +0000
@@ -19,6 +19,8 @@
#include "logfile.h"
#include "utils.h"
+#include <cstdio>
+
extern int LL; //LogLevel
//Prepare Header for Browser
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]