I solved the problem.
To recapitulate: Common/b2math.h gave an error, so here's what I did:
1. I edited out the line:
Code:
#include <cmath>
2. I added the line:
Code:
#include <math.h>
3. I edited the line:
Code:
return finite(x) != 0;
to:
Code:
return isfinite(x) != 0;
As far as I can tell the function isfinite() seems to work just like finite() / _finite():
http://www.java2s.com/Tutorial/C/0340__ ... finite.htm(returns non-zero if finite, 0 otherwise.)
Still don't know why CodeBlocks+MinGW dosn't like finite(), but anyway..