When compiling this game with gcc-4.1, I get a few warnings. But the ./configure script forces -Werror in CXXFLAGS, and thus the while build process fails: Making all in src make[2]: Entering directory `/var/portage/tmp/portage/ssc-0.8/work/ssc-0.8/src' if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../support/ode/include `freetype-config --cflags` `sdl-config --cflags` -O3 -pipe -finline-functions -falign-functions=4 -ffast-math -fno-rtti -fno-exceptions -mfancy-math-387 -fomit-frame-pointer -march=i686 -Wall -Werror -MT asteroid.o -MD -MP -MF ".deps/asteroid.Tpo" \ -c -o asteroid.o `test -f 'asteroid.cc' || echo './'`asteroid.cc; \ then mv -f ".deps/asteroid.Tpo" ".deps/asteroid.Po"; \ else rm -f ".deps/asteroid.Tpo"; exit 1; \ fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../support/ode/include `freetype-config --cflags` `sdl-config --cflags` -O3 -pipe -finline-functions -falign-functions=4 -ffast-math -fno-rtti -fno-exceptions -mfancy-math-387 -fomit-frame-pointer -march=i686 -Wall -Werror -MT neuron.o -MD -MP -MF ".deps/neuron.Tpo" \ -c -o neuron.o `test -f 'neuron.cc' || echo './'`neuron.cc; \ then mv -f ".deps/neuron.Tpo" ".deps/neuron.Po"; \ else rm -f ".deps/neuron.Tpo"; exit 1; \ fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../support/ode/include `freetype-config --cflags` `sdl-config --cflags` -O3 -pipe -finline-functions -falign-functions=4 -ffast-math -fno-rtti -fno-exceptions -mfancy-math-387 -fomit-frame-pointer -march=i686 -Wall -Werror -MT nnwork.o -MD -MP -MF ".deps/nnwork.Tpo" \ -c -o nnwork.o `test -f 'nnwork.cc' || echo './'`nnwork.cc; \ then mv -f ".deps/nnwork.Tpo" ".deps/nnwork.Po"; \ else rm -f ".deps/nnwork.Tpo"; exit 1; \ fi cc1plus: warnings being treated as errors coord.h: In member function 'int Coord3<T>::hash() const [with T = double]': asteroid.cc:90: instantiated from here coord.h:300: warning: dereferencing type-punned pointer will break strict-aliasing rules make[2]: *** [asteroid.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/portage/tmp/portage/ssc-0.8/work/ssc-0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/portage/tmp/portage/ssc-0.8/work/ssc-0.8' make: *** [all] Error 2 I will attach an ebuild patch to sed out this -Werror flag. Hope it is an acceptable workaround, since i don't know C++ enough to actually fix all the warnings.
Created attachment 82587 [details, diff] ssc-0.8-ebuild--drop_Werror.patch
Tupone fixed this one already. thanks for the bug report.