Package: kdevelop
Version: 4:3.4.0-2
Usertags: ftbfs-gcc-4.3
Tags: patch

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  Some background of this can be found at
http://gcc.gnu.org/PR28080

You can reproduce this problem with gcc-snapshot from unstable.

> Automatic build of kdevelop_4:3.4.0-2 on coconut0 by sbuild/ia64 0.49
...
>  g++ -DHAVE_CONFIG_H -I. -I/build/tbm/kdevelop-3.4.0/./lib/cppparser -I../.. 
> -I/build/tbm/kdevelop-3.4.0/./lib/interfaces -I/usr/include/kde 
> -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT 
> -DKDEVELOP_BGPARSER -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 
> -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W 
> -Wpointer-arith -DNDEBUG -DNO_DEBUG -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 -c 
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.cpp  -fPIC -DPIC -o 
> .libs/cachemanager.o
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.cpp:89:2: error: no 
> newline at end of file
> In file included from 
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.cpp:15:
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.h:33: error: 'uint' 
> does not name a type
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.h:37: error: expected 
> ',' or '...' before 'v'
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.h:37: error: ISO C++ 
> forbids declaration of 'uint' with no type
> /build/tbm/kdevelop-3.4.0/./lib/cppparser/cachemanager.h:41: error: expected 
> ',' or '...' before 'diff'

--- languages/cpp/debugger/variablewidget.cpp~  2007-04-02 10:45:20.000000000 
+0000
+++ languages/cpp/debugger/variablewidget.cpp   2007-04-02 10:46:21.000000000 
+0000
@@ -40,6 +40,7 @@
 #include <kapplication.h>
 #include <kmessagebox.h>
 
+#include <cctype>
 #include <set>
 #include <typeinfo>
 
--- languages/cpp/setuphelper.cpp~      2007-04-02 10:52:07.000000000 +0000
+++ languages/cpp/setuphelper.cpp       2007-04-02 10:52:09.000000000 +0000
@@ -55,4 +55,4 @@
   return lines;
 }
 
-}
\ No newline at end of file
+}
--- lib/cppparser/cachemanager.h~       2007-04-02 10:13:59.000000000 +0000
+++ lib/cppparser/cachemanager.h        2007-04-02 10:14:04.000000000 +0000
@@ -15,6 +15,7 @@
 
 #ifndef CACHEMANAGER_H
 #define CACHEMANAGER_H
+#include <cstdlib>
 #include <set>
 #include <limits>
 
--- lib/cppparser/cachemanager.cpp~     2007-04-02 10:14:25.000000000 +0000
+++ lib/cppparser/cachemanager.cpp      2007-04-02 10:14:27.000000000 +0000
@@ -86,4 +86,4 @@
 
 void CacheManager::saveMemory() {
   removeLowerHalf();
-}
\ No newline at end of file
+}
--- lib/cppparser/lexercache.cpp~       2007-04-02 10:15:17.000000000 +0000
+++ lib/cppparser/lexercache.cpp        2007-04-02 10:15:19.000000000 +0000
@@ -247,4 +247,4 @@
   m_fileModificationCache.clear();
 
   m_totalStringSet.clear(); ///it's unclear how often this should be emptied. 
It may happen that completely unused strings end up in this set, then deleting 
it will save us memory.
-}
\ No newline at end of file
+}
--- lib/astyle/astyle.h~        2007-04-02 10:16:23.000000000 +0000
+++ lib/astyle/astyle.h 2007-04-02 10:17:03.000000000 +0000
@@ -28,6 +28,7 @@
 #ifndef ASTYLE_H
 #define ASTYLE_H
 
+#include <cctype>
 #include <string>
 #include <vector>
 

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