[ODE] Problem in dReal *L = (dReal*) ALLOCA

Matthew D. Hancher mdh at email.arc.nasa.gov
Mon Jul 26 12:43:58 MST 2004


> I'm not sure that variable-sized array declarations
> are standard C(++) though.  (But then again, neither
> is alloca!)

Variable-sized arrays are perfectly standard C++, though 
only the final array dimension may be variable.  In this 
case the array is one-dimensional, so that's a moot point, 
of course.

mdh

Matt Hancher
NASA Ames Research Center
Official: mdh at email.arc.nasa.gov
Personal: mdh at media.mit.edu



More information about the ODE mailing list