[Pkg-kde-extras] Bug#461666: FTBFS with GCC 4.3: missing #includes
Martin Michlmayr
tbm at cyrius.com
Sun Jan 20 08:15:29 UTC 2008
Package: codeine
Version: 1.0.1-3.dfsg-2
Usertags: ftbfs-gcc-4.3
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). There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html
You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.
> Automatic build of codeine_1.0.1-3.dfsg-2 on em64t by sbuild/amd64 0.53
...
> g++ -o build/app/xineEngine.o -c -I/usr/include/kde/ -I/usr/include/qt3 -O2 -DNDEBUG -DNO_DEBUG -DQT_NO_TRANSLATION -Ibuild/app -Isrc/app -Ibuild -Isrc -I. src/app/xineEngine.cpp
> src/app/xineEngine.cpp: In member function 'QString Codeine::VideoWindow::fileFilter() const':
> src/app/xineEngine.cpp:871: error: 'free' is not a member of 'std'
> scons: *** [build/app/xineEngine.o] Error 1
> scons: building terminated because of errors.
> make: *** [common-build-impl] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
--
Martin Michlmayr
http://www.cyrius.com/
More information about the pkg-kde-extras
mailing list