Bug#461705: FTBFS with GCC 4.3: uses (removed) pre-iso c++ headers

Martin Michlmayr tbm at cyrius.com
Sun Jan 20 09:49:44 UTC 2008

Package: ri-li
Version: 2.0.0-4
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, pre-iso c++ headers
will no longer be present, but your application makes use of them.

You can reproduce this problem with gcc-4.3 or gcc-snapshot from

> Automatic build of ri-li_2.0.0-4 on em64t by sbuild/amd64 0.53
> make[3]: Entering directory `/build/tbm/ri-li-2.0.0/src'
> if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DDATA_DIR="\"/usr/share/games/ri-li/Ri-li\"" -Wno-deprecated -DLINUX  -g -O2 -MT audio.o -MD -MP -MF ".deps/audio.Tpo" -c -o audio.o audio.cc; \
> 	then mv -f ".deps/audio.Tpo" ".deps/audio.Po"; else rm -f ".deps/audio.Tpo"; exit 1; fi
> audio.cc:25:22: error: iostream.h: No such file or directory
> audio.cc: In member function 'bool Audio::Init()':
> audio.cc:60: error: 'cerr' was not declared in this scope
> audio.cc:60: error: 'endl' was not declared in this scope
> make[3]: *** [audio.o] Error 1

Martin Michlmayr

More information about the Pkg-games-devel mailing list