Package: kdevelop
Version: 4:3.5.3-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 kdevelop_4:3.5.3-1 on em64t by sbuild/amd64 0.53
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdevelop-3.5.3/./lib/antlr/src 
> -I../../.. -I/build/tbm/kdevelop-3.5.3/./lib/antlr/src/.. -DQT_THREAD_SUPPORT 
> -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG 
> -O2 -g -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute 
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
> -DQT_NO_TRANSLATION -fexceptions -c 
> /build/tbm/kdevelop-3.5.3/./lib/antlr/src/CharScanner.cpp  -fPIC -DPIC -o 
> .libs/CharScanner.o
> In file included from 
> /build/tbm/kdevelop-3.5.3/./lib/antlr/src/CharScanner.cpp:10:
> /build/tbm/kdevelop-3.5.3/./lib/antlr/src/../antlr/CharScanner.hpp:22:7: 
> warning: "_MSC_VER" is not defined
> In file included from 
> /build/tbm/kdevelop-3.5.3/./lib/antlr/src/CharScanner.cpp:10:
> /build/tbm/kdevelop-3.5.3/./lib/antlr/src/../antlr/CharScanner.hpp:475: 
> error: 'EOF' was not declared in this scope
> /build/tbm/kdevelop-3.5.3/./lib/antlr/src/../antlr/CharScanner.hpp:128: 
> warning: unused parameter 'ex'
> make[5]: *** [CharScanner.lo] Error 1
> make[5]: Leaving directory 
> `/build/tbm/kdevelop-3.5.3/obj-x86_64-linux-gnu/lib/antlr/src'

--- lib/antlr/antlr/CharScanner.hpp~    2008-11-13 19:18:53.000000000 +0000
+++ lib/antlr/antlr/CharScanner.hpp     2008-11-13 19:19:02.000000000 +0000
@@ -17,6 +17,7 @@
 #else
 #include <cctype>
 #endif
+#include <cstdio>
 #include <cstring>
 
 #if ( _MSC_VER == 1200 )

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