octave-maintainers
[Top][All Lists]
Advanced

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

Re: forge: linear-algebra-2.2.0 warning for deprecated on install


From: Jordi Gutiérrez Hermoso
Subject: Re: forge: linear-algebra-2.2.0 warning for deprecated on install
Date: Thu, 7 Feb 2013 13:08:11 -0500

On 7 February 2013 12:47, marco atzeri <address@hidden> wrote:
> testing on octave-3.6.4-rc1, I see
>
> + pkg ('install', '-noauto', '-global', '-verbose',
> 'linear-algebra-2.2.0.tar.gz')
> mkdir (/tmp/oct-28cb44.2)
> untar (linear-algebra-2.2.0.tar.gz, /tmp/oct-28cb44.2)
> dbleGSVD.cc: In member function ‘octave_idx_type GSVD::init(const Matrix&,
> const Matrix&, GSVD::type)’:
> dbleGSVD.cc:190:31: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = double, octave_idx_type
>  = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> dbleGSVD.cc:191:28: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = double, octave_idx_type
>  = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> dbleGSVD.cc:192:27: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = double, octave_idx_type = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> dbleGSVD.cc:193:28: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = int, octave_idx_type = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> CmplxGSVD.cc: In member function ‘octave_idx_type ComplexGSVD::init(const
> ComplexMatrix&, const ComplexMatrix&, GSVD::type)’:
> CmplxGSVD.cc:194:33: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = std::complex<double>, octave_idx_type = int]’ is deprecated
> (declared at /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> CmplxGSVD.cc:195:30: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = double, octave_idx_type = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> CmplxGSVD.cc:196:29: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = double, octave_idx_type = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> CmplxGSVD.cc:197:31: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = double, octave_idx_type = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)
> CmplxGSVD.cc:198:30: warning: ‘Array<T>::Array(octave_idx_type, const T&)
> [with T = int, octave_idx_type = int]’ is deprecated (declared at
> /usr/include/octave-3.6.4-rc1/octave/Array.h:185)

Basically, Array(octave_idx_type) has to be replaced with
Array(dim_vector(octave_idx_type)). See some commits I made on the
fixed package for guidance.

- Jordi G. H.


reply via email to

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