In C++, you can cast by using construction: int(x) == (int)x Are you perhaps compiling this with a C (not C++) compiler setting? If that's something we'll want to support, then we should probably change that define. However, ODE itself is implemented in C++. Cheers, / h+