Bug#417061: FTBFS with GCC 4.3: identifier 'static_assert' will become a keyword in C++0x

Martin Michlmayr tbm at cyrius.com
Sun Apr 1 13:48:24 UTC 2007


Package: holotz-castle
Version: 1.3.9-1
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.

> Automatic build of holotz-castle_1.3.9-1 on coconut0 by sbuild/ia64 0.49
...
> g++ -I. -I../JLib -DLINUX -g -O2 -Wall -Werror -Wshadow  -ffast-math -c `sdl-config --cflags` -DHC_DATA_DIR=\"/usr/share/games/holotz-castle/game/\" -DHCED_DATA_DIR=\"/usr/share/games/holotz-castle/editor/\" HCUtil.cpp -o HCUtil.o
> cc1plus: warnings being treated as errors
> In file included from ../JLib/JLib/Util/JLoadSave.h:36,
>                  from ../JLib/JLib/Util/JString.h:38,
>                  from ./HCUtil.h:50,
>                  from HCUtil.cpp:30:
> ../JLib/JLib/Util/JRW.h:206: error: identifier 'static_assert' will become a keyword in C++0x
> make[2]: *** [HCUtil.o] Error 1
> make[2]: Leaving directory `/build/tbm/holotz-castle-1.3.9/src'
> make[1]: *** [all] Error 2

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




More information about the Pkg-games-devel mailing list