[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation war
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package |
Date: |
Sun, 12 Jan 2020 15:46:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.gnu.org/bugs/?57585>
Summary: [octave-forge] (image) deprecation warnings during
installation (compilation) of image package
Project: GNU Octave
Submitted by: hardy
Submitted on: Sun 12 Jan 2020 08:46:02 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Installation Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
When I compile the current (dev) image package under the current dev Octave
(that will become Octave 6 soon) I see a lot of deprecation warnings. The
compilation eventually succeeds, but when a user makes "pkg install -forge
octave" he will then also have the screen full with these deprecation
warnings. This why I would like to see this changed.
Here is the current screen output from the compilation:
>> pkg install image-2.11.0+.tar.gz
__bilateral__.cc: In function ‘octave_value_list F__bilateral__(const
octave_value_list&, int)’:
__bilateral__.cc:123:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __bilateral__.cc:18:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc: In function ‘octave_value_list
F__custom_gaussian_smoothing__(const octave_value_list&, int)’:
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:143:3: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:160:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:166:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:172:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:178:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:184:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:190:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:196:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:202:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__custom_gaussian_smoothing__.cc:110:11: warning: ‘error_state’ is
deprecated: [6]: this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state) \
^
__custom_gaussian_smoothing__.cc:208:7: note: in expansion of macro
‘RETURN_IF_INVALID’
RETURN_IF_INVALID;
^~~~~~~~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __custom_gaussian_smoothing__.cc:16:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__spatial_filtering__.cc: In function ‘octave_value_list
F__spatial_filtering__(const octave_value_list&, int)’:
__spatial_filtering__.cc:374:7: warning: ‘error_state’ is deprecated: [6]:
this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __spatial_filtering__.cc:21:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__spatial_filtering__.cc:397:7: warning: ‘error_state’ is deprecated: [6]:
this variable is obsolete and always has the value 0
[-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __spatial_filtering__.cc:21:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
__boundary__.cc: In function ‘octave_value_list F__boundary__(const
octave_value_list&, int)’:
__boundary__.cc:64:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0[-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from __boundary__.cc:23:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwfill.cc: In function ‘octave_value_list Fbwfill(const octave_value_list&,
int)’:
bwfill.cc:78:8: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwfill.cc:18:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwfill.cc:139:13: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwfill.cc:18:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwfill.cc:148:13: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwfill.cc:18:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
hough_line.cc: In function ‘octave_value_list Fhough_line(const
octave_value_list&, int)’:
hough_line.cc:55:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from hough_line.cc:24:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
graycomatrix.cc: In function ‘octave_value_list Fgraycomatrix(const
octave_value_list&, int)’:
graycomatrix.cc:61:9: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0[-Wdeprecated-declarations]
if (error_state) {
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from graycomatrix.cc:24:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwdist.cc: In function ‘octave_value_list Fbwdist(const octave_value_list&,
int)’:
bwdist.cc:504:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwdist.cc:19:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwdist.cc:511:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwdist.cc:19:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
connectivity.cc: In static member function ‘static double
octave::image::connectivity::double_value(const octave_value&)’:
connectivity.cc:282:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state || ! val.is_scalar_type ())
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from connectivity.cc:23:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
strel.cc: In constructor ‘octave::image::strel::strel(const
octave_value&)’:
strel.cc:57:11: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from strel.cc:25:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
strel.cc: In member function ‘Array<long int>
octave::image::strel::pre_pad(const octave_idx_type&, const string&)
const’:
strel.cc:264:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
error_state = 1;
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from strel.cc:25:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
strel.cc: In member function ‘Array<long int>
octave::image::strel::post_pad(const octave_idx_type&, const string&)
const’:
strel.cc:298:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
error_state = 1;
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from strel.cc:25:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
conndef.cc: In function ‘octave_value_list Fconndef(const
octave_value_list&, int)’:
conndef.cc:101:11: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state || arg0 < 1)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from conndef.cc:17:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
conndef.cc:107:11: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from conndef.cc:17:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
conndef.cc: In function ‘octave_value_list Fiptcheckconn(const
octave_value_list&, int)’:
conndef.cc:221:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from conndef.cc:17:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
conndef.cc:227:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from conndef.cc:17:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
conndef.cc:236:11: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state || pos < 1)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from conndef.cc:17:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwlabeln.cc: In function ‘octave_value_list Fbwlabel(const
octave_value_list&, int)’:
bwlabeln.cc:688:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state || (n != 4 && n!= 6 && n != 8))
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwlabeln.cc:27:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwconncomp.cc: In function ‘octave_value_list Fbwconncomp(const
octave_value_list&, int)’:
bwconncomp.cc:217:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwconncomp.cc:29:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwconncomp.cc: In function ‘octave_value_list Fbwareaopen(const
octave_value_list&, int)’:
bwconncomp.cc:375:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwconncomp.cc:29:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
bwconncomp.cc:382:7: warning: ‘error_state’ is deprecated: [6]: this
variable is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state || lim < 0)
^~~~~~~~~~~
In file included from
/opt/octave-dev/include/octave-6.0.0/octave/../octave/oct.h:33:0,
from bwconncomp.cc:29:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In function ‘T pad_matrix(const T&, const octave::image::strel&,
const double&, const string&)’:
imerode.cc:88:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In function ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&)’:
imerode.cc:263:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In function ‘octave_value base_action(const string&, const
bool&, const octave_value_list&)’:
imerode.cc:353:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc:360:7: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~~~~~~~~~~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = boolNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:374:81: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<signed char> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:376:81: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<short int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:378:83: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:380:83: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<long int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:382:83: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<unsigned char> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:384:83: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<short unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:386:85: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:388:85: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<long unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:390:85: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = FloatNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:393:85: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = NDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:395:74: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
FloatComplexNDArray; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:398:100: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = ComplexNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:400:89: required from here
imerode.cc:263:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T = boolNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = boolNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’
imerode.cc:374:81: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<signed char> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<signed char> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:376:81: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<short int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<short int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:378:83: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:380:83: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<long int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<long int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:382:83: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<unsigned char> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<unsigned char> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:384:83: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<short unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<short unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:386:85: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:388:85: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
intNDArray<octave_int<long unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
intNDArray<octave_int<long unsigned int> >; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:390:85: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T = FloatNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = FloatNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’
imerode.cc:393:85: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T = NDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = NDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’
imerode.cc:395:74: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T =
FloatComplexNDArray; std::__cxx11::string =
std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T =
FloatComplexNDArray; std::__cxx11::string =
std::__cxx11::basic_string<char>]’
imerode.cc:398:100: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
imerode.cc: In instantiation of ‘T pad_matrix(const T&, const
octave::image::strel&, const double&, const string&) [with T = ComplexNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’:
imerode.cc:255:28: required from ‘octave_value erode(const T&, const
octave::image::strel&, const string&, const bool&) [with T = ComplexNDArray;
std::__cxx11::string = std::__cxx11::basic_string<char>]’
imerode.cc:400:89: required from here
imerode.cc:88:3: warning: ‘error_state’ is deprecated: [6]: this variable
is obsolete and always has the value 0 [-Wdeprecated-declarations]
if (error_state)
^~
In file included from imerode.cc:27:0:
/opt/octave-dev/include/octave-6.0.0/octave/../octave/error.h:491:26: note:
declared here
extern OCTINTERP_API int error_state;
^~~~~~~~~~~
For information about changes from previous versions of the image package, run
'news image'.
>>
To summarize, I think I see only warnings of this single type:
* warning: ‘error_state’ is deprecated: [6]: this variable is obsolete
and always has the value 0 [-Wdeprecated-declarations]
Question: Can we fix this in a way that the new image release will install in
older versions as well as in Octave 6?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57585>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package,
Hartmut <=
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Mike Miller, 2020/01/12
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Avinoam Kalma, 2020/01/12
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Hartmut, 2020/01/14
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Carnë Draug, 2020/01/14
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Carnë Draug, 2020/01/15
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Carnë Draug, 2020/01/22
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Hartmut, 2020/01/22
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Hartmut, 2020/01/23
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Carnë Draug, 2020/01/23
- [Octave-bug-tracker] [bug #57585] [octave-forge] (image) deprecation warnings during installation (compilation) of image package, Carnë Draug, 2020/01/23