octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #48618] Image package: Warnings when installin


From: Avinoam Kalma
Subject: [Octave-bug-tracker] [bug #48618] Image package: Warnings when installing ver 2.5.1. in dev branch
Date: Sun, 24 Jul 2016 19:39:06 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?48618>

                 Summary: Image package: Warnings when installing ver 2.5.1.
in dev branch
                 Project: GNU Octave
            Submitted by: avinoam
            Submitted on: Sun 24 Jul 2016 07:39:04 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:


When installing Image package ver 2.5.1. (not released yet) in dev branch, I
get: 


>> __octave_config_info__ ("hg_id")
ans = ff54e7882863
>> pkg install image-2.5.1.tar.gz
warning: creating installation directory
D:\Octave\Octave-4.1.0+\share\octave\packages
warning: called from
    install at line 30 column 5
    pkg at line 392 column 9
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int)
 [with ET = bool; MT = boolNDArray; ET_OUT = double; octave_idx_type = int]':
__spatial_filtering__.cc:598:9:   required from here
__spatial_filtering__.cc:201:32: warning: 'double xlog2(double)' is deprecated
(declared at D
:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:507):
use 'octave:
:math::log2' instead [-Wdeprecated-declarations]
         entropy -= p * xlog2 (p);
                                ^
__spatial_filtering__.cc: In instantiation of 'ET_OUT entropy_filt(MT&,
octave_idx_type, int)
 [with ET = octave_int<unsigned char>; MT = intNDArray<octave_int<unsigned
char> >; ET_OUT =
double; octave_idx_type = int]':
__spatial_filtering__.cc:600:9:   required from here
__spatial_filtering__.cc:201:32: warning: 'double xlog2(double)' is deprecated
(declared at D
:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:507):
use 'octave:
:math::log2' instead [-Wdeprecated-declarations]
__bilateral__.cc: In function 'octave_value bilateral(const MatrixType&,
double, double)':
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
   const int s = std::max ((int)xround (3*sigma_d), 1);
                                                 ^
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = NDArray]':
__bilateral__.cc:130:56:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<signed char> >]':
__bilateral__.cc:135:60:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<short int> >]':
__bilateral__.cc:140:61:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<int> >]':
__bilateral__.cc:145:61:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<long long int> >]':
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<unsigned char> >]':
__bilateral__.cc:155:61:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<short unsigned int> >]':
__bilateral__.cc:160:62:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<unsigned int> >]':
__bilateral__.cc:165:62:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::r
ound' instead [-Wdeprecated-declarations]
__bilateral__.cc: In instantiation of 'octave_value bilateral(const
MatrixType&, double, doub
le) [with MatrixType = intNDArray<octave_int<long long unsigned int> >]':
__bilateral__.cc:170:62:   required from here
__bilateral__.cc:40:49: warning: 'double xround(double)' is deprecated
(declared at D:\Octave
\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:620): use
'octave::math::round' instead [-Wdeprecated-declarations]
imreconstruct.cc: In instantiation of 'void propagation_step(T&, const T&,
std::queue<int>&,
const Array<int>&) [with T = boolNDArray]':
imreconstruct.cc:272:61:   required from 'T fast_hybrid_reconstruction(const
T&, const T&, co
nst octave::image::connectivity&) [with T = boolNDArray]'
imreconstruct.cc:282:56:   required from 'T reconstruct(const T&, const T&,
const octave::ima
ge::connectivity&) [with T = boolNDArray]'
imreconstruct.cc:364:3:   required from here
imreconstruct.cc:224:38: warning: 'T xmin(T, T) [with T = bool]' is deprecated
(declared at D
:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:747):
use 'octave:
:math::min' instead [-Wdeprecated-declarations]
               J[q] = xmin (J[p], I[q]);
                                      ^
imreconstruct.cc: In instantiation of 'void propagation_step(T&, const T&,
std::queue<int>&,
const Array<int>&) [with T = FloatNDArray]':
imreconstruct.cc:272:61:   required from 'T fast_hybrid_reconstruction(const
T&, const T&, co
nst octave::image::connectivity&) [with T = FloatNDArray]'
imreconstruct.cc:282:56:   required from 'T reconstruct(const T&, const T&,
const octave::ima
ge::connectivity&) [with T = FloatNDArray]'
imreconstruct.cc:371:7:   required from here
imreconstruct.cc:224:38: warning: 'float xmin(float, float)' is deprecated
(declared at D:\Oc
tave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:776):
use 'octave::mat
h::min' instead [-Wdeprecated-declarations]
imreconstruct.cc: In instantiation of 'void propagation_step(T&, const T&,
std::queue<int>&,
const Array<int>&) [with T = NDArray]':
imreconstruct.cc:272:61:   required from 'T fast_hybrid_reconstruction(const
T&, const T&, co
nst octave::image::connectivity&) [with T = NDArray]'
imreconstruct.cc:282:56:   required from 'T reconstruct(const T&, const T&,
const octave::ima
ge::connectivity&) [with T = NDArray]'
imreconstruct.cc:371:7:   required from here
imreconstruct.cc:224:38: warning: 'double xmin(double, double)' is deprecated
(declared at D:
\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:762):
use 'octave::
math::min' instead [-Wdeprecated-declarations]
imreconstruct.cc: In instantiation of 'void propagation_step(T&, const T&,
std::queue<int>&,
const Array<int>&) [with T = FloatComplexNDArray]':
imreconstruct.cc:272:61:   required from 'T fast_hybrid_reconstruction(const
T&, const T&, co
nst octave::image::connectivity&) [with T = FloatComplexNDArray]'
imreconstruct.cc:282:56:   required from 'T reconstruct(const T&, const T&,
const octave::ima
ge::connectivity&) [with T = FloatComplexNDArray]'
imreconstruct.cc:375:7:   required from here
imreconstruct.cc:224:38: warning: 'FloatComplex xmin(const FloatComplex&,
const FloatComplex&
)' is deprecated (declared at
D:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/
lo-mappers.h:804): use 'octave::math::min' instead
[-Wdeprecated-declarations]
imreconstruct.cc: In instantiation of 'void propagation_step(T&, const T&,
std::queue<int>&,
const Array<int>&) [with T = ComplexNDArray]':
imreconstruct.cc:272:61:   required from 'T fast_hybrid_reconstruction(const
T&, const T&, co
nst octave::image::connectivity&) [with T = ComplexNDArray]'
imreconstruct.cc:282:56:   required from 'T reconstruct(const T&, const T&,
const octave::ima
ge::connectivity&) [with T = ComplexNDArray]'
imreconstruct.cc:375:7:   required from here
imreconstruct.cc:224:38: warning: 'Complex xmin(const Complex&, const
Complex&)' is deprecate
d (declared at
D:\Octave\Octave-4.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:79
0): use 'octave::math::min' instead [-Wdeprecated-declarations]
For information about changes from previous versions of the image package, run
'news image'.







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48618>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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