[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504940: FTBFS with GCC 4.4: missing #include

Package: ecawave
Version: 1:0.6.1-11
User: debian-gcc@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 ecawave_1:0.6.1-11 on em64t by sbuild/amd64 0.53
> mv -f .deps/resources.Tpo .deps/resources.Po
> g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include/qt3 -I/usr/include/libecasound -I/usr/include/kvutils    -O2 -DNDEBUG -ffast-math -D_REENTRANT -D_REENTRANT -D_REENTRANT -ffast-math -fstrict-aliasing -funroll-loops -DNDEBUG -DENABLE_DBC -MT qeinterface.o -MD -MP -MF .deps/qeinterface.Tpo -c -o qeinterface.o qeinterface.cpp
> In file included from qefile.h:15,
>                  from qeinterface.cpp:22:
> qewaveform.h:18: error: 'int16_t' does not name a type
> qewaveform.h:19: error: 'int16_t' does not name a type
> make[3]: *** [qeinterface.o] Error 1
> make[3]: Leaving directory `/build/tbm/ecawave-0.6.1/src'
> make[2]: *** [all-recursive] Error 1

--- src/qewaveform.h~	2008-11-08 05:39:44.000000000 +0000
+++ src/qewaveform.h	2008-11-08 05:40:27.000000000 +0000
@@ -2,6 +2,7 @@
 #include <vector>
+#include <stdint.h>
 #include <qwidget.h>
 #include <qevent.h>

Martin Michlmayr

Reply to: