The latest version of 0.5.3-DR2 is failing to make on Linux.
The error received is:
client.cpp:3413: name lookup of `i' changed for new ISO `for' scoping
client.cpp:3401: using obsolete binding at `i'
Just need to give the second for loop in Client::Message_StringID it's own declared iterator rather than reusing 'i'. Diff of the fix is below:
Code:
3413,3416c3413,3416
< for(i=0;i<9;i++){
< if(messagearray[i]){
< strcpy((char*)bufptr,messagearray[i]);
< bufptr+=strlen(messagearray[i])+1;
---
> for(int j=0;j<9;j++){
> if(messagearray[j]){
> strcpy((char*)bufptr,messagearray[j]);
> bufptr+=strlen(messagearray[j])+1;