Package: barry
Version: 0.14-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 barry_0.14-2 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I..    -ansi 
> -Wall -fno-strict-aliasing -g -D__BARRY_HAVE_GCCVISIBILITY__ 
> -fvisibility=hidden -g -O2 -g -Wall -O2 -c -o base64.lo base64.cc
>  g++ -DHAVE_CONFIG_H -I.. -ansi -Wall -fno-strict-aliasing -g 
> -D__BARRY_HAVE_GCCVISIBILITY__ -fvisibility=hidden -g -O2 -g -Wall -O2 -c 
> base64.cc  -fPIC -DPIC -o .libs/base64.o
> base64.cc: In member function 'int base64_input::operator()()':
> base64.cc:41: error: 'EOF' was not declared in this scope
> base64.cc: In function 'bool encode(base64_input&, base64_output&)':
> base64.cc:99: error: 'EOF' was not declared in this scope
> base64.cc: In function 'int insig(base64_input&)':
> base64.cc:138: error: 'EOF' was not declared in this scope
> base64.cc: In function 'bool decode(base64_input&, base64_output&)':
> base64.cc:174: error: 'EOF' was not declared in this scope
> make[3]: *** [base64.lo] Error 1
> make[3]: Leaving directory `/build/tbm/barry-0.14/src'

--- opensync-plugin/src/trace.h~        2008-11-11 20:03:41.000000000 +0000
+++ opensync-plugin/src/trace.h 2008-11-11 20:03:47.000000000 +0000
@@ -24,6 +24,7 @@
 
 #include <opensync/opensync.h>
 #include <stdarg.h>
+#include <cstdio>
 
 class Trace
 {
--- src/base64.cc~      2008-11-11 19:54:11.000000000 +0000
+++ src/base64.cc       2008-11-11 19:54:17.000000000 +0000
@@ -11,6 +11,7 @@
  */
 
 #include "base64.h"
+#include <cstdio>
 #include <string>
 #include <iterator>
 
--- src/record.cc~      2008-11-11 19:56:18.000000000 +0000
+++ src/record.cc       2008-11-11 19:56:29.000000000 +0000
@@ -32,6 +32,7 @@
 #include "time.h"
 #include "error.h"
 #include "endian.h"
+#include <cstdio>
 #include <sstream>
 #include <iomanip>
 #include <time.h>

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