[ODE] extern inline functions.

Russ Smith russ at q12.org
Tue May 25 10:39:18 MST 2004


ODE's odemath.h has recently started using 'extern inline' on some
functions. it turns out that this causes problems in VC7, and i just
found the reason why in a glibc conformance report:

  "glibc's use of extern inline conflicts with C99: in C99, extern
   inline means that an external definition is generated as well as
   possibly an inline definition, but in GCC it means that no external
   definition is generated."

to work around this problem, i've added an #ifdef __GNUC__ to odemath.h.

russ.

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


More information about the ODE mailing list