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

[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: Fri, 24 Jan 2020 03:17:21 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0

Follow-up Comment #11, bug #57585 (project octave):

Sorry, there seeem to be more errors. (I am using the current dev version of
the image package, from the evening on January 23.)

This error I see with Octave 5.1.90 under Windows 10. It seems to also be
about the missing uint type in C++:


>> pkg install image-2.11.0+(23Jan).tar.gz
In file included from connectivity.cc:17:
connectivity.h:43:38: error: 'uint' does not name a type; did you mean
'rint'?
   43 |         explicit connectivity (const uint conn);
      |                                      ^~~~
      |                                      rint
connectivity.cc:59:1: error: no declaration matches
'octave::image::connectivity::connectivity(unsigned int)'
   59 | connectivity::connectivity (const unsigned int conn)
      | ^~~~~~~~~~~~
In file included from connectivity.cc:17:
connectivity.h:36:11: note: candidates are:
'octave::image::connectivity::connectivity(octave::image::connectivity&&)'
   36 |     class connectivity
      |           ^~~~~~~~~~~~
connectivity.h:36:11: note:                
'octave::image::connectivity::connectivity(const octave::image::connectivity
&)'
connectivity.h:44:9: note:                
'octave::image::connectivity::connectivity(const octave_idx_type&, const stri
ng&)'
   44 |         connectivity (const octave_idx_type& ndims, const std::string&
type);
      |         ^~~~~~~~~~~~
connectivity.h:43:18: note:                
'octave::image::connectivity::connectivity(int)'
   43 |         explicit connectivity (const uint conn);
      |                  ^~~~~~~~~~~~
connectivity.cc:31:1: note:                
'octave::image::connectivity::connectivity(const boolNDArray&)'
   31 | connectivity::connectivity (const boolNDArray& mask_arg)
      | ^~~~~~~~~~~~
In file included from connectivity.cc:17:
connectivity.h:39:9: note:                
'octave::image::connectivity::connectivity()'
   39 |         connectivity () = default;
      |         ^~~~~~~~~~~~
connectivity.h:36:11: note: 'class octave::image::connectivity' defined here
   36 |     class connectivity
      |           ^~~~~~~~~~~~
make: *** [Makefile:24: connectivity.o] Error 1


Maybe we should do a search-and-replace action for "uint" on all C-sources in
the image package?

And yes, let's set this bug report back to the "open" status again.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57585>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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