I don't know, it just sorta worked in the morning, everything runs fine now, I probably sleep-walked :shock: I also forgot to put _STLP_DEBUG on one of the projects, but it was relelated to something else. The patch didn't apply cleanly, so I just applied it to ois.cbp manually, and messed around with it a little till it worked. I mostly had problems with getting the right options for STLPort.
I do have one problem though its with your inline function:
../../dependencies/includes/SQUIRREL/squirrel.h:360: error: too few arguments to function `SQRESULT sq_call(SQVM*, SQInteger, SQBool, SQBool)'
..\..\src\WGEOisManager.cpp:75: error: at this point in file
It gives me the error at
SQPLUS_CHECK_FNCALL(sq_call(temp.v,2,1));
in the inline function in OisManager.cpp
If I comment that line out it builds fine, but the input doesn't work. Maybe you could put #IFs in the places that were changed for GCC 4, so it can still compile under GCC 3(MinGW)?