[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48529] image package: compilation warnings un
From: |
Carnë Draug |
Subject: |
[Octave-bug-tracker] [bug #48529] image package: compilation warnings under Mac OSX |
Date: |
Fri, 15 Jul 2016 21:01:52 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?48529>
Summary: image package: compilation warnings under Mac OSX
Project: GNU Octave
Submitted by: carandraug
Submitted on: Fri 15 Jul 2016 09:01:49 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Billy Schwartz
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: other
Operating System: Mac OS
_______________________________________________________
Details:
As reported on the mailing list
On 15 July 2016 at 20:48, Billy Schwartz <address@hidden> wrote:
> 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));
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48529>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #48529] image package: compilation warnings under Mac OSX,
Carnë Draug <=