bugGNU Octave - Bugs: bug #48618, Image package: Warnings when...

 
 

bug #48618: Image package: Warnings when installing ver 2.5.1. in dev branch

Submitter:  Avinoam Kalma <avinoam>
Submitted:  Sun 24 Jul 2016 07:39:04 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Wed 07 Dec 2016 04:39:49 AM UTC, comment #20: 

Building image package ver 2.6.1 with dev branch does not
produce any warning.

Closing as fixed.

Avinoam Kalma <avinoam>
Group Member
Wed 17 Aug 2016 10:08:49 PM UTC, comment #19: 

Do you have another version of Octave installed on windows anywhere? Is this with "pkg install" or with "make all" ? Did you upgrade your clone of the image package first and rerun "./bootstrap"?

Here's the weird lines:


configure:1809: checking for octave
configure:1839: result: C:/Octave/Octave-4.1.0+/bin/octave-4.1.0+.exe
configure:1853: checking for mkoctfile
configure:1883: result: C:/Octave/Octave-4.1.0+/bin/mkoctfile-4.1.0+.exe --verbose
configure:1954: checking for g++
configure:1970: found /usr/bin/g++
configure:1981: result: g++
configure:2008: checking for C++ compiler version
configure:2017: g++ --version >&5
g++.exe (GCC) 4.9.3


CXX should have been defined to a c++ compiler that supports C++11.  With that version of g++, that could mean that CXX would have the -std=c+=11 flags included but it does not. Also, note the line "found /usr/bin/g++". But both the Makefile in the image package, and pkg in Octave set the CXX env variable, so it shouldn't be finding anything because it wouldn't be looking for anything in the first place.

Carnë Draug <carandraug>
Group Member
Wed 17 Aug 2016 06:34:27 PM UTC, comment #18: 

Checking on Win-7, I got the warnings again...
config.log attached.


(file #38243)

Avinoam Kalma <avinoam>
Group Member
Tue 16 Aug 2016 07:15:05 PM UTC, comment #17: 

I did not check on windows, will do it soon, I then I close this report.

Avinoam Kalma <avinoam>
Group Member
Tue 16 Aug 2016 12:55:26 PM UTC, comment #16: 

I'm unsure why it "make install" now works fine for you, I didn't change anything that should have made a difference for that. Does it also work on windows? Can this report be closed?

Carnë Draug <carandraug>
Group Member
Tue 16 Aug 2016 04:58:03 AM UTC, comment #15: 

Using your last changes, "make all" and "make install" work fine, without any warnings at all. Thanks!


Avinoam Kalma <avinoam>
Group Member
Tue 16 Aug 2016 12:05:31 AM UTC, comment #14: 

Thanks. I changed some things on the maintainers Makefile so "make all" should now work. Please update your clone then try "make clean && ./bootstrap && make all". This should now build all the oct files.

However, I didn't actually change anything in the files that will get installed so unless you changed something else on the system, it should still warn and there is still something to be fixed. I just don't know yet.

Please confirm if "make all" works correctly now. If not please reattach the new config.log. If yes, try "make install".  If it still gives warnings, do the following changes:

  1. in the Makefile at the root of the image package, look for 'pkg ("install", "${RELEASE_TARBALL}")' and change it for 'pkg ("install", "-verbose", "${RELEASE_TARBALL}")'
  2. in the file '/usr/local/share/octave/4.1.0+/m/pkg/private/install.m (or the equivalent in your Octave installation), look for this lines (around line 286):



  ## All is well, let's clean up.
  for i = 1:length (tmpdirs)
    [status, msg] = rmdir (tmpdirs{i}, "s");
    if (status != 1 && exist (tmpdirs{i}, "dir"))
      warning ("couldn't clean up after my self: %s\n", msg);
    endif
  endfor


and comment the lines.  If you do this, then after you run "make install", there will be a a directory with a random name like "/tmp/oct-XXXXX". Attach the src/config.log inside that directory.

Carnë Draug <carandraug>
Group Member
Mon 15 Aug 2016 07:53:24 PM UTC, comment #13: 

Attached src/config.log. I did not understand it :-(

(file #38220)

Avinoam Kalma <avinoam>
Group Member
Mon 15 Aug 2016 06:54:12 PM UTC, comment #12: 

Run "make clean && make all". Attach the file src/config.log (and take a look at it, it will show the exact code that it tried to use to check presence of octave::math::namespace).

Carnë Draug <carandraug>
Group Member
Mon 15 Aug 2016 06:33:16 PM UTC, comment #11: 

I have uninstalled Octave and reinstalled it, but I get the
same results. I am using gcc 4.9.3.


$ /usr/local/bin/octave --eval "__octave_config_info__('hg_id')"
ans = 5e27d8d4e3c1


Any idea?


Avinoam Kalma <avinoam>
Group Member
Mon 15 Aug 2016 12:38:59 AM UTC, comment #10: 

See the following lines:


checking for mkoctfile... /usr/local/bin/mkoctfile
checking for octave... /usr/local/bin/octave
checking for g++ option to enable C++11 features... -std=gnu++11
checking whether xmin is in the octave::math namespace... no


It's failing to find octave::math::min for some reason which is why it defaults to use xmin.  I think you have an older version of Octave installed which comes first in the path.  If it was using Octave 4.1, the line about C++11 features should come up as "none needed" because Octave 4.1 already requires c++11. Instead it is adding the "-std=gnu++11" flag.

Is "/usr/local/bin/octave" really the Octave version of Octave with hg id 5e27d8d4e3c1 ?


This is what I get:


$ make all
cd src/ && ./configure
checking for a sed that does not truncate output... /bin/sed
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for mkoctfile... /home/carandraug/.local/bin/mkoctfile
checking for octave... /home/carandraug/.local/bin/octave
checking for g++ -std=gnu++11 option to enable C++11 features... none needed
checking whether xmin is in the octave::math namespace... yes
checking whether templated lambda functions accept '&const int'... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
[...]


Carnë Draug <carandraug>
Group Member
Sun 14 Aug 2016 06:57:50 PM UTC, comment #9: 

I get on Linux (Ubuntu), usin Octave with  hg_id = 5e27d8d4e3c1


avinoam@avinoam-VirtualBox:~/image$ make all
cd src/ && ./configure
checking for a sed that does not truncate output... /bin/sed
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for mkoctfile... /usr/local/bin/mkoctfile
checking for octave... /usr/local/bin/octave
checking for g++ option to enable C++11 features... -std=gnu++11
checking whether xmin is in the octave::math namespace... no
checking whether templated lambda functions accept '&const int'... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
make -C src/


and I still get warnings with imreconstruct.

with

Avinoam Kalma <avinoam>
Group Member
Thu 11 Aug 2016 03:53:09 AM UTC, comment #8: 

The tarball looks right to me. I don't have windows so you're kind of on your debugging this.

Try to run "make all" instead of "make dist". Do you still get a warning? If so, inspect the config.log (it will be in the src directory) for the configure check that failed.  It will show you the exact commands that were run and the file that tried to compile.

Carnë Draug <carandraug>
Group Member
Mon 08 Aug 2016 08:54:15 PM UTC, comment #7: 

I am attaching the image package which I build using "make dist".
I have checked the package on win-7 on and Windows-10.
Which other details can help?


(file #38151)

Avinoam Kalma <avinoam>
Group Member
Mon 08 Aug 2016 01:21:48 PM UTC, comment #6: 

I don't see that. Can you give details to reproduce it?

Carnë Draug <carandraug>
Group Member
Mon 08 Aug 2016 06:53:07 AM UTC, comment #5: 

Checking image ver 2.5.1 after the corrections, with changeset 1723063e65f3, I still get warnings from imreconstruct.cc.
_bilateral_.cc and _spatial_filtering_.cc have been fixed.


imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = bool]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
boolNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = boolNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = boo
lNDArray]'
imreconstruct.cc:381:3:   required from here
imreconstruct.cc:48:22: warning: 'T xmin(T, T) [with T = bool]' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oc
tave-4.1.0+\octave\../octave/lo-mappers.h:747): use 'octave::math::min' instead [-Wdeprecated-declarations]
     return xmin (x, y);
                      ^
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = float]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atNDArray]'
imreconstruct.cc:388:7:   required from hereimreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = bool]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
boolNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = boolNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = boo
lNDArray]'
imreconstruct.cc:381:3:   required from here
imreconstruct.cc:48:22: warning: 'T xmin(T, T) [with T = bool]' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oc
tave-4.1.0+\octave\../octave/lo-mappers.h:747): use 'octave::math::min' instead [-Wdeprecated-declarations]
     return xmin (x, y);
                      ^
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = float]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atNDArray]'
imreconstruct.cc:388:7:   required from hereimreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = bool]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
boolNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = boolNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = boo
lNDArray]'
imreconstruct.cc:381:3:   required from here
imreconstruct.cc:48:22: warning: 'T xmin(T, T) [with T = bool]' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oc
tave-4.1.0+\octave\../octave/lo-mappers.h:747): use 'octave::math::min' instead [-Wdeprecated-declarations]
     return xmin (x, y);
                      ^
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = float]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atNDArray]'
imreconstruct.cc:388:7:   required from hereimreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = bool]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
boolNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = boolNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = boo
lNDArray]'
imreconstruct.cc:381:3:   required from here
imreconstruct.cc:48:22: warning: 'T xmin(T, T) [with T = bool]' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oc
tave-4.1.0+\octave\../octave/lo-mappers.h:747): use 'octave::math::min' instead [-Wdeprecated-declarations]
     return xmin (x, y);
                      ^
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = float]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atNDArray]'
imreconstruct.cc:388:7:   required from hereimreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = bool]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
boolNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = boolNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = boo
lNDArray]'
imreconstruct.cc:381:3:   required from here
imreconstruct.cc:48:22: warning: 'T xmin(T, T) [with T = bool]' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oc
tave-4.1.0+\octave\../octave/lo-mappers.h:747): use 'octave::math::min' instead [-Wdeprecated-declarations]
     return xmin (x, y);
                      ^
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = float]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atNDArray]'
imreconstruct.cc:388:7:   required from hereimreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = bool]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
boolNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = boolNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = boo
lNDArray]'
imreconstruct.cc:381:3:   required from here
imreconstruct.cc:48:22: warning: 'T xmin(T, T) [with T = bool]' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oc
tave-4.1.0+\octave\../octave/lo-mappers.h:747): use 'octave::math::min' instead [-Wdeprecated-declarations]
     return xmin (x, y);
                      ^
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = float]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atNDArray]'
imreconstruct.cc:388:7:   required from here
imreconstruct.cc:48:22: warning: 'float xmin(float, float)' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\octave
-4.1.0+\octave\../octave/lo-mappers.h:776): use 'octave::math::min' instead [-Wdeprecated-declarations]
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = double]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
NDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = NDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = NDA
rray]'
imreconstruct.cc:388:7:   required from here
imreconstruct.cc:48:22: warning: 'double xmin(double, double)' is deprecated (declared at C:\Octave\Octave-4.1.0+\include\oct
ave-4.1.0+\octave\../octave/lo-mappers.h:762): use 'octave::math::min' instead [-Wdeprecated-declarations]
imreconstruct.cc: In instantiation of 'T octave_image::min(T, T) [with T = std::complex<float>]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
FloatComplexNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = FloatComplexNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Flo
atComplexNDArray]'
imreconstruct.cc:392:7:   required from here
imreconstruct.cc:48:22: warning: 'FloatComplex xmin(const FloatComplex&, const FloatComplex&)' is deprecated (declared at C:\
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 'T octave_image::min(T, T) [with T = std::complex<double>]':
imreconstruct.cc:241:51:   required from 'void propagation_step(T&, const T&, std::queue<int>&, const Array<int>&) [with T =
ComplexNDArray]'
imreconstruct.cc:289:61:   required from 'T fast_hybrid_reconstruction(const T&, const T&, const octave::image::connectivity&
) [with T = ComplexNDArray]'
imreconstruct.cc:299:56:   required from 'T reconstruct(const T&, const T&, const octave::image::connectivity&) [with T = Com
plexNDArray]'
imreconstruct.cc:392:7:   required from here
imreconstruct.cc:48:22: warning: 'Complex xmin(const Complex&, const Complex&)' is deprecated (declared at C:\Octave\Octave-4
.1.0+\include\octave-4.1.0+\octave\../octave/lo-mappers.h:790): use 'octave::math::min' instead [-Wdeprecated-declarations]


Avinoam Kalma <avinoam>
Group Member
Tue 02 Aug 2016 04:41:08 AM UTC, comment #4: 

This time fixed properly I think http://hg.code.sf.net/p/octave/image/rev/672b4b8dd371

I'm using


CXXFLAGS="$CXXFLAGS -I`$MKOCTFILE -p OCTINCLUDEDIR`"


for the compilation test which I'm not 100% sure is the right thing.  CXXFLAGS does not have the -I flags and ALL_CXXFLAGS seems to bring too much stuff.

Would be nice if anyone confirms this is the right thing or if I'm overlooking some setup.

Carnë Draug <carandraug>
Group Member
Mon 01 Aug 2016 10:14:09 PM UTC, comment #3: 

So the later works when running configure from src manually, but not when using pkg install.

Carnë Draug <carandraug>
Group Member
Mon 01 Aug 2016 09:26:43 PM UTC, comment #2: 

I have pushed


Carnë Draug <carandraug>
Group Member
Mon 25 Jul 2016 11:00:14 AM UTC, comment #1: 

I don't want the image package to be dependent on the unreleased version of Octave.

This means that removing the warning implis a configure check to find whether octave::math:log exists and use xlog2 if not.

Carnë Draug <carandraug>
Group Member
Sun 24 Jul 2016 07:39:04 PM UTC, original submission:  


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'.



Avinoam Kalma <avinoam>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38243:  config.log added by avinoam (38KiB - application/octet-stream)
file #38220:  config.log added by avinoam (25KiB - application/octet-stream)
file #38151:  image-2.5.1.tar.gz added by avinoam (349KiB - application/x-gzip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by avinoam (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 14 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-07 avinoam StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2016-08-17 avinoam Attached File- Added config.log, #38243
    2016-08-15 avinoam Attached File- Added config.log, #38220
    2016-08-08 avinoam Attached File- Added image-2.5.1.tar.gz, #38151
    2016-08-08 avinoam Open/ClosedClosed Open
    2016-08-08 avinoam StatusFixed In Progress
    2016-08-02 carandraug StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2016-08-01 carandraug StatusFixed In Progress
        Open/ClosedClosed Open
    2016-08-01 carandraug Item GroupInaccurate Result Other
        StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code