Package: subcommander
Version: 2.0.0~b4-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 subcommander_2.0.0~b4-2 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I..  -DQT_THREAD_SUPPORT  -DLINUX=2 -D_REENTRANT 
> -D_GNU_SOURCE  -I.. -DQT3_SUPPORT -I/usr/share/qt4/include 
> -I/usr/share/qt4/include/Qt -I/usr/include/subversion-1  
> -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include/postgresql 
> -I/usr/include/mysql -D__STDC_CONSTANT_MACROS=1    -g -Wall -O2 -c -o 
> TextWindow.o TextWindow.cpp
> In file included from TextWindow.cpp:17:
> ../util/iconvstream.h: In member function 'virtual int 
> iconvstreambuf::underflow()':
> ../util/iconvstream.h:120: error: 'EOF' was not declared in this scope
> ../util/iconvstream.h:144: error: 'EOF' was not declared in this scope
> ../util/iconvstream.h: In member function 'virtual int 
> iconvstreambuf2::overflow(int)':
> ../util/iconvstream.h:237: error: 'EOF' was not declared in this scope
> ../util/iconvstream.h:244: error: 'EOF' was not declared in this scope
> ../util/iconvstream.h: In member function 'virtual int 
> iconvstreambuf2::sync()':
> ../util/iconvstream.h:253: error: 'EOF' was not declared in this scope
> ../util/iconvstream.h: In member function 'int iconvstreambuf2::flush()':
> ../util/iconvstream.h:280: error: 'EOF' was not declared in this scope
> make[3]: *** [TextWindow.o] Error 1
> make[3]: Leaving directory `/build/tbm/subcommander-2.0.0~b4/subcommander'
> make[2]: *** [all-recursive] Error 1

--- util/iconvstream.h~ 2008-11-24 18:05:09.000000000 +0000
+++ util/iconvstream.h  2008-11-24 18:05:19.000000000 +0000
@@ -18,6 +18,7 @@
 #include "ErrorCodes.h"
 
 // sys
+#include <cstdio>
 #include <istream>
 
 // apr util

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