just trying to compile the latest 2.4 beta on 64bit OpenSuse linux, using:
Code: Select all
./configure --disable-robots --disable-bzadmin --disable-plugins --prefix=/home/grans/bin/bzf-beta
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I../../include -DINSTALL_DATA_DIR=\"/home/grans/bin/bzf-beta/share/bzflag\" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -MT playing.o -MD -MP -MF .deps/playing.Tpo -c -o playing.o playing.cxx
playing.cxx: In function ‘void handleServerMessage(bool, uint16_t, uint16_t, void*)’:
playing.cxx:2348:10: error: jump to case label
playing.cxx:2154:15: error: crosses initialization of ‘Player* killerPlayer’
playing.cxx:2153:15: error: crosses initialization of ‘Player* victimPlayer’
playing.cxx:2152:24: error: crosses initialization of ‘BaseLocalPlayer* killerLocal’
playing.cxx:2151:24: error: crosses initialization of ‘BaseLocalPlayer* victimLocal’
playing.cxx:2140:11: error: crosses initialization of ‘int phydrv’
Code: Select all
playing.cxx:3056:1: error: a function-definition is not allowed here before ‘{’ token
playing.cxx:7283:1: error: expected ‘}’ at end of input
make[2]: *** [playing.o] Error 1
make[2]: Leaving directory `/home/grans/bin/bzflag-2.3.15/src/bzflag'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/grans/bin/bzflag-2.3.15/src'
make: *** [all-recursive] Error 1
thanks
Grans