Problem compiling oct-norm.cc with MSVC

Michael Goffioul michael.goffioul at gmail.com
Mon Nov 10 06:00:15 CST 2008


OK, it seems to be due to the use of "acci(i)" instead of "acci[i]",
as acci is a std::vector.

Michael.


On Mon, Nov 10, 2008 at 10:20 AM, Michael Goffioul
<michael.goffioul at gmail.com> wrote:
> It actually produces another one:
>
> ../../liboctave/oct-norm.cc(280) : error C2064: term does not evaluate
> to a function taking 1 arguments
>        ../../liboctave/oct-norm.cc(314) : see reference to function
> template instantiation 'void
> row_norms<double,double,norm_accumulator_2<R>>(const MSparse<T>
> &,MArray<T> &,ACC)' being compiled
>        with
>        [
>            R=double,
>            T=double,
>            ACC=norm_accumulator_2<double>
>        ]
>        ../../liboctave/oct-norm.cc(560) : see reference to function
> template instantiation 'MArray<T> row_norms<double,double>(const
> MSparse<T> &,R)' being compiled
>        with
>        [
>            T=double,
>            R=double
>        ]
>


More information about the Octave-maintainers mailing list