[ODE] ODE on MSVC

Russ Smith russ at q12.org
Tue Nov 27 20:01:02 MST 2001


> when in dDOUBLE mode the compiler complains of not being able to have
> overloaded functions in c mode, since the prototype effectively
> becomes
> 
> void dsDrawBoxD (const float pos[3], const float R[12], const float
>                  sides[3]);
> void dsDrawBoxD (const double pos[3], const double R[12],const double
>                  sides[3]);
> 
> which msvc doesn't like since its invalid in C.

hmmmm - i never had any trouble with MSVC. why would the compiler think
there are two different prototypes for dsDrawBoxD? the test programs
define dsDrawBox to dsDrawBoxD, so they should simply reference the
dsDrawBoxD function, not make a new prototype for it ... ?

anyway, the other stuff you mentioned should be solved when we
have decent cross platform configuration (i've still to integrate
jens's) stuff. thanks for the tips.

russ.

--
Russell Smith
http://www.q12.org



More information about the ODE mailing list