Bug#357897: FTBFS with G++ 4.1: dereferencing type-punned pointer
will break...
Martin Michlmayr
tbm at cyrius.com
Mon Mar 20 05:07:15 UTC 2006
Package: holotz-castle
Version: 1.3.8-1
Severity: important
Your package fails to build with G++ 4.1. I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.
(seen on i386 and mips)
> Automatic build of holotz-castle_1.3.8-1 on bigsur by sbuild/mips 1.106
...
> 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/\" HCRope.cpp -o HCRope.o
> cc1plus: warnings being treated as errors
> HCRope.cpp: In member function 'u32 HCRope::Load(JRW&)':
> HCRope.cpp:130: warning: dereferencing type-punned pointer will break strict-aliasing rules
> HCRope.cpp:134: warning: dereferencing type-punned pointer will break strict-aliasing rules
> HCRope.cpp:135: warning: dereferencing type-punned pointer will break strict-aliasing rules
> HCRope.cpp: In member function 'u32 HCRope::Save(JRW&)':
> HCRope.cpp:164: warning: dereferencing type-punned pointer will break strict-aliasing rules
> HCRope.cpp:168: warning: dereferencing type-punned pointer will break strict-aliasing rules
> HCRope.cpp:169: warning: dereferencing type-punned pointer will break strict-aliasing rules
> make[2]: *** [HCRope.o] Error 1
> make[2]: Leaving directory `/build/tbm/holotz-castle-1.3.8/src'
--
Martin Michlmayr
http://www.cyrius.com/
More information about the Pkg-games-devel
mailing list