Problem compiling oct-norm.cc with MSVC

Jaroslav Hajek highegg at gmail.com
Mon Nov 10 08:57:31 CST 2008


On Mon, Nov 10, 2008 at 1:00 PM, Michael Goffioul
<michael.goffioul at gmail.com> wrote:
> OK, it seems to be due to the use of "acci(i)" instead of "acci[i]",
> as acci is a std::vector.
>

Sorry. It seems I forgot to qrefresh before qfinishing the patch. The
missing change follows:
http://hg.savannah.gnu.org/hgweb/octave/rev/05b7a8ffec65

regards

> 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
>>        ]
>>
>



-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz


More information about the Octave-maintainers mailing list