[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem compiling oct-norm.cc with MSVC
From: |
Jaroslav Hajek |
Subject: |
Re: Problem compiling oct-norm.cc with MSVC |
Date: |
Mon, 10 Nov 2008 15:57:31 +0100 |
On Mon, Nov 10, 2008 at 1:00 PM, Michael Goffioul
<address@hidden> 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
> <address@hidden> 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