Problem compiling sparse-xdiv.cc (typename)

Michael Goffioul michael.goffioul at gmail.com
Sat May 9 09:27:09 CDT 2009


Hi,

While compiling octave recent archive with MSVC, I got a compilation
error at sparse-xdiv.cc. MSVC fails at the statement:

const typename DM::element_type zero = typename DM::element_type ();

Specifically, it fails at intepreting "typename DM::element_type ()" correctly
and tries to find a static member called element_type (it seems to ignore
typename keyword in that context). I worked around that by using

const typename DM::element_type zero =


More information about the Octave-maintainers mailing list