[ODE] Wrong brackets in definition of dSqrt in common.h ?

Peter Onion Peter.Onion at btinternet.com
Tue Dec 13 15:34:00 MST 2005


On Tue, 2005-12-13 at 14:29 -0800, Jon Watte (ODE) wrote:
> In C++, you can cast by using construction:
> 
>    int(x) == (int)x
> 
> Are you perhaps compiling this with a C (not C++) compiler setting?

Yes I am, because it's a C application !

>  If 
> that's something we'll want to support, 

When did ODE stop supporting "C" ?

> then we should probably change 
> that define. However, ODE itself is implemented in C++.

But it provides a C API as well !

Peter




More information about the ODE mailing list