Package: dibbler
Version: 0.7.1-2
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 dibbler_0.7.1-2 on em64t by sbuild/amd64 0.53
...
> [CXX ] /Misc/DHCPConst.o
> g++ -ftemplate-depth-40 -DLINUX -I ../include -Wall -funsigned-char -O2
> -pedantic -DMOD_CLNT_BIND_REUSE -Wall -g -O2 -g -O2 -c -o DHCPConst.o
> DHCPConst.cpp
> DHCPConst.cpp: In function 'void PrintHex(std::string, char*, unsigned int)':
> DHCPConst.cpp:157: error: 'sprintf' was not declared in this scope
> make[2]: *** [DHCPConst.o] Error 1
> make[2]: Leaving directory `/build/tbm/dibbler-0.7.1/Misc'
--- Misc/DHCPConst.cpp~ 2008-11-07 20:36:59.000000000 +0000
+++ Misc/DHCPConst.cpp 2008-11-07 20:37:05.000000000 +0000
@@ -14,6 +14,8 @@
#include "Logger.h"
#include "SmartPtr.h"
+#include <cstdio>
+
// standard options specified in RFC3315, pg. 99
bool OptInMsg[13][20] = {
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]