[Pkg-kde-extras] Bug#505078: FTBFS with GCC 4.4: missing #include

Martin Michlmayr tbm at cyrius.com
Sun Nov 9 08:24:48 UTC 2008


Package: codeine
Version: 1.0.1-3.dfsg-3
User: debian-gcc at lists.debian.org
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 codeine_1.0.1-3.dfsg-3 on em64t by sbuild/amd64 0.53
...
> g++ -o build/app/actions.o -c -I/usr/include/kde/ -I/usr/include/qt3 -g -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. src/app/actions.cpp
> In file included from src/app/actions.cpp:8:
> src/app/xineEngine.h:22: error: 'int16_t' was not declared in this scope
> src/app/xineEngine.h:22: error: template argument 1 is invalid
> src/app/xineEngine.h:22: error: template argument 2 is invalid
> src/app/xineEngine.h:22: error: invalid type in declaration before ';' token
> src/app/xineEngine.h:107: error: 'int64_t' does not name a type
> scons: *** [build/app/actions.o] Error 1
> scons: building terminated because of errors.
> make: *** [common-build-impl] Error 2

--- src/app/xineEngine.h~	2008-11-09 08:17:00.000000000 +0000
+++ src/app/xineEngine.h	2008-11-09 08:17:16.000000000 +0000
@@ -8,6 +8,7 @@
 #include <qtimer.h>
 #include <qwidget.h>
 #include <kurl.h>
+#include <stdint.h>
 #include <vector>
 
 typedef struct xine_s xine_t;

-- 
Martin Michlmayr
http://www.cyrius.com/





More information about the pkg-kde-extras mailing list