octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.2.0


From: Michael Goffioul
Subject: Re: 3.2.0
Date: Tue, 19 May 2009 21:33:35 +0100

On Tue, May 19, 2009 at 9:14 PM, Jaroslav Hajek <address@hidden> wrote:
>> Main problems are:
>> - missing xxx_API tags
>> - incorrectly placed xxx_API tags
>> - unexpected template instantiations
>> - compilation of C++ versions of mkoctfile, octave-bug and octave-config
>>
>> Michael.
>>
>
> How long do you expect this to take? Can I help somehow?

Of course. Discussing issues (like for the instantiation case) is of
great help. Most of the issues above are fixed or worked around. I'm
currently recompiling octave and will post a full patch for discussion
when it's done.

However, at the moment, compilation fails in CmplxQR.cc, in the
for-loop starting at line 324. Full error is given below, but it seems
MSVC promote volatile octave_idx_type + octave_idx_type to
volatile octave_idx_type, and fails to:
1) resolve the ambiguity in instantiating std::min
2) use a volatile octave_idx_type as argument for const octave_idx_type&

What's the reason of declaring "i" volatile in this case?

Michael.

../../liboctave/CmplxQR.cc(330) : error C2780: 'const _Ty
&std::min(const _Ty &,const _Ty &,_Pr)' : expects 3 arguments - 2
provided
        C:\Program Files\Microsoft Visual Studio
9.0\VC\INCLUDE\xutility(3379) : see declaration of 'std::min'
../../liboctave/CmplxQR.cc(330) : error C2782: 'const _Ty
&std::min(const _Ty &,const _Ty &)' : template parameter '_Ty' is
ambiguous
        C:\Program Files\Microsoft Visual Studio
9.0\VC\INCLUDE\xutility(3371) : see declaration of 'std::min'
        could be 'volatile octave_idx_type'
        or       'octave_idx_type'
../../liboctave/CmplxQR.cc(330) : error C2664: 'zqrinc_' : cannot
convert parameter 2 from 'volatile octave_idx_type' to 'const
octave_idx_type &'
        Conversion loses qualifiers
../../liboctave/CmplxQR.cc(387) : error C2664: 'zqrdec_' : cannot
convert parameter 2 from 'volatile octave_idx_type' to 'const
octave_idx_type &'
        Conversion loses qualifiers


reply via email to

[Prev in Thread] Current Thread [Next in Thread]