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

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



Package: freqtweak
Version: 0.7.2-1
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-4.4

Your package fails to build with GCC 4.4, which has 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-4.4/g++-4.4 from unstable.

> Automatic build of freqtweak_0.7.2-1 on em64t by sbuild/amd64 0.53
...
> g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I/usr/include/libxml2   -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2   -Wall -D_REENTRANT -g -O2 -g -Wall -O2 -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math  -c -o FTactiveBarGraph.o FTactiveBarGraph.cpp
> g++ -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA   -I/usr/include/libxml2   -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2   -Wall -D_REENTRANT -g -O2 -g -Wall -O2 -O2 -fexpensive-optimizations -funroll-loops -finline-functions -ffast-math  -c -o FTutils.o FTutils.cpp
> In file included from FTutils.cpp:25:
> FTutils.hpp:125: error: 'int32_t' does not name a type
> FTutils.hpp: In function 'float flush_to_zero(float)':
> FTutils.hpp:136: error: 'union ls_pcast32' has no member named 'i'
> make[3]: *** [FTutils.o] Error 1
> make[3]: Leaving directory `/build/tbm/freqtweak-0.7.2/src'
> make[2]: *** [all-recursive] Error 1

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



Reply to: