That's just the newer version GCC you are using. I just tried something on this newer OS I have, since it gave me an assortment of errors, which most point to same two references (after Googling) -
In every error you see, for example you get an error in 'EQPacket.cpp' open the file up and add these two lines(might be better to add to *.h files) ;
Code:
#include <cstdlib>
#include <cstring>
It will be either one or the other, so I always added both.
I had to do this to around 20 files, so it takes a while.
Then finally I got a big 'zone.o' error , which I fixed by adding -fpermissive to WFLAGS in makefiles for zone.
After that it all compiled.