[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47535] image package: warnings abouth length(
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #47535] image package: warnings abouth length() with current Octave dev branch |
Date: |
Fri, 25 Mar 2016 19:06:10 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?47535>
Summary: image package: warnings abouth length() with current
Octave dev branch
Project: GNU Octave
Submitted by: hardy
Submitted on: Fri 25 Mar 2016 07:06:09 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
When you install the current image package 2.4.1 under the current Octave dev
version (default branch in repository, 4.1.0+), then you get a couple of
warning messages. I think they are all related to a deprecated length()
command in some C files:
>> pkg install -forge image
bwfill.cc: In function 'octave_value_list Fbwfill(const octave_value_list&,
int)':
bwfill.cc:137:30: warning: 'octave_idx_type Array<T>::length() const [with T =
double; octave_idx_
type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-24\in
clude\octave-4.1.0+\octave\../octave/Array.h:269) [-Wdeprecated-declarations]
npoints= xseed.length ();
^
hough_line.cc: In function 'octave_value_list Fhough_line(const
octave_value_list&, int)':
hough_line.cc:61:44: warning: 'octave_idx_type Array<T>::length() const [with
T = double; octave_i
dx_type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-24
\include\octave-4.1.0+\octave\../octave/Array.h:269)
[-Wdeprecated-declarations]
const int thetas_length = thetas.length ();
^
hough_line.cc:68:40: warning: 'octave_idx_type Array<T>::length() const [with
T = double; octave_i
dx_type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-24
\include\octave-4.1.0+\octave\../octave/Array.h:269)
[-Wdeprecated-declarations]
const int bins_length = bins.length ();
^
graycomatrix.cc: In function 'octave_value_list Fgraycomatrix(const
octave_value_list&, int)':
graycomatrix.cc:69:47: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave
_idx_type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-
24\include\octave-4.1.0+\octave\../octave/Array.h:269)
[-Wdeprecated-declarations]
dim(0) = L; dim(1) = L; dim(2) = d.length(); dim(3) = th.length();
^
graycomatrix.cc:69:69: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave
_idx_type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-
24\include\octave-4.1.0+\octave\../octave/Array.h:269)
[-Wdeprecated-declarations]
dim(0) = L; dim(1) = L; dim(2) = d.length(); dim(3) = th.length();
^
graycomatrix.cc:82:50: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave
_idx_type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-
24\include\octave-4.1.0+\octave\../octave/Array.h:269)
[-Wdeprecated-declarations]
for (int d_idx = 0; d_idx < d.length(); d_idx++) {
^
graycomatrix.cc:84:57: warning: 'octave_idx_type Array<T>::length() const
[with T = double; octave
_idx_type = int]' is deprecated (declared at
D:\Hartmut\octave-default_47372\octave-2016-03-24-20-
24\include\octave-4.1.0+\octave\../octave/Array.h:269)
[-Wdeprecated-declarations]
for (int th_idx = 0; th_idx < th.length(); th_idx++) {
^
For information about changes from previous versions of the image package, run
'news image'.
I observed this behavior with a current mxe-octave version of the current
Octave "default" branch under Windows 7. But I assume it will be the same
under Linux as well.
This isn't a bug of the image package, yet. But I guess it would turn into a
bug (or at least into an unwanted strangenesses) as soon (or late) as version
4.2 of Octave will be released.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47535>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47535] image package: warnings abouth length() with current Octave dev branch,
Hartmut <=