octave-maintainers
[Top][All Lists]
Advanced

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

Octave Bug #43748


From: Billy Schwartz
Subject: Octave Bug #43748
Date: Fri, 15 Jul 2016 14:48:55 -0500

To whom it may concern:

This bug regards compiling and isntalling the Forge package Image on Mac OS. On June 17, 2016, Mike Miller asked whether anyone could install the Image package on Mac OS with the latest version of Octave. On a fresh installation of Octave 4.0.3 (using Homebrew) on Mac OS 10.11.5, I was able to compile and install the Image package in Octave using the usual "pkg install -forge image;" command. However, I received seventy four (74) copies of the following error message:

__custom_gaussian_smoothing__.cc:58:43: warning: using integer absolute value function 'abs' when argument
      is of floating point type [-Wabsolute-value]
              const octave_idx_type rur = abs (k*(ct*sqrtv2 - st*sqrtv1)); // 'rur' means 'row-upper-right'
                                          ^
__custom_gaussian_smoothing__.cc:58:43: note: use function 'std::abs' instead
              const octave_idx_type rur = abs (k*(ct*sqrtv2 - st*sqrtv1)); // 'rur' means 'row-upper-right'
                                          ^~~
                                          std::abs

I'm guessing fixing this warning is easy: just use the right type of abs function. I also got six error messages like the two below.

__custom_gaussian_smoothing__.cc:161:22: note: in instantiation of function template specialization
      'custom_gaussian_smoothing<Matrix>' requested here
      retval.append (custom_gaussian_smoothing<Matrix>(I, lambda1, lambda2, theta));
 
__custom_gaussian_smoothing__.cc:209:22: note: in instantiation of function template specialization
      'custom_gaussian_smoothing<intNDArray<octave_int<unsigned long long> > >' requested here
      retval.append (custom_gaussian_smoothing<uint64NDArray>(I, lambda1, lambda2, theta));


(Sorry for submitting this to the mailing list. I couldn't log into the GNU bug tracker because it didn't like any of the passwords I was willing to use. It offered to allow me to submit a comment without logging in, but then complained that I didn't fill out the Captcha, but there was no Captcha for me to fill out. Then I gave up just emailed you.)

Hope this helps.

--
William Schwartz


reply via email to

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