Bug#461694: FTBFS with GCC 4.3: uses (removed) pre-iso c++ headers
Martin Michlmayr
tbm at cyrius.com
Sun Jan 20 09:40:49 UTC 2008
Package: sabre
Version: 0.2.4b-23
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
unstable.
> Automatic build of sabre_0.2.4b-23 on em64t by sbuild/amd64 0.53
...
> ranlib libuncl.a
> make[2]: Leaving directory `/build/tbm/sabre-0.2.4b/libzip'
> Making all in src
> make[2]: Entering directory `/build/tbm/sabre-0.2.4b/src'
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DVERSION=\"0.2.4b\" -DREV_DATE=\"11/21/99\" -DUSING_NEWPILOT=1 -DJSTICK_INSTALLED=1 -DHAVE_LIBNCURSES=1 -DHAVE_LIBM=1 -I. -I. -I../gdev -I../libzip -g -O2 -DDEBIAN -c game.C
> game.C:35:22: error: iostream.h: No such file or directory
> game.C:36:21: error: fstream.h: No such file or directory
> In file included from siminc.h:32,
> from game.C:40:
> simfile.h:30: error: 'istream' was not declared in this scope
> simfile.h:30: error: expected primary-expression before ',' token
> simfile.h:30: error: expected primary-expression before 'char'
> simfile.h:30: error: expected primary-expression before 'int'
> simfile.h:30: error: initializer expression list treated as compound expression
> simfile.h:31: error: 'ifstream' was not declared in this scope
> simfile.h:31: error: expected primary-expression before ',' token
> simfile.h:31: error: expected primary-expression before 'char'
> simfile.h:31: error: initializer expression list treated as compound expression
> simfile.h:32: error: 'ofstream' was not declared in this scope
> simfile.h:32: error: expected primary-expression before ',' token
> simfile.h:32: error: expected primary-expression before 'char'
> simfile.h:32: error: initializer expression list treated as compound expression
...
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-games-devel
mailing list