Package: pdns-recursor
Version: 3.1.7-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.


--- dnsparser.cc~       2008-11-17 17:26:21.000000000 +0000
+++ dnsparser.cc        2008-11-17 17:26:14.000000000 +0000
@@ -20,6 +20,7 @@
 #include "dnswriter.hh"
 #include <boost/lexical_cast.hpp>
 #include <boost/algorithm/string.hpp>
+#include <cstdio>
 
 using namespace boost;
 
--- rcpgenerator.cc~    2008-11-17 17:26:00.000000000 +0000
+++ rcpgenerator.cc     2008-11-17 17:26:05.000000000 +0000
@@ -20,6 +20,7 @@
 #include "dnsparser.hh"
 #include "misc.hh"
 #include <boost/lexical_cast.hpp>
+#include <cstdio>
 #include <iostream>
 #include "base64.hh"
 using namespace boost;

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