After upgrading Kubuntu from 13.04 to 13.10, I'm having problems compiling the latest Sauerbraten (sauerbraten-collect-edition), I get a lot of warnings like these:
shared/crypto.cpp:316:33: warning: array subscript is above array bounds [-Warray-bounds]
digit tmp = x.digits[i+dig+1];
shared/geom.h:1008:40: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ivec &sub(const ivec &v) { x -= v.x; y -= v.y; z -= v.z; return *this; }
engine/octa.cpp:806:10: note: ‘v’ was declared here
ivec v[4];
It does compile, but I get segmentation fault when I try to run it.
I suspect that this is related to gcc 4.8?
Have anyone else experienced this, and if so, how did you solve it?