bugGNU Octave - Bugs: bug #48529, [octave forge] (image) compilation...

 
 

bug #48529: [octave forge] (image) compilation warnings under Mac OSX

Submitted by:  CarnĂ« Draug <carandraug>
Submitted on:  Fri 15 Jul 2016 09:01:49 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Billy SchwartzOpen/Closed: Open
Release: otherOperating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 15 Jul 2016 09:01:49 PM UTC, original submission:

As reported on the mailing list

On 15 July 2016 at 20:48, Billy Schwartz <wkschwartz@gmail.com> 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(ctsqrtv2 - 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(ctsqrtv2 - 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));

Carnë Draug <carandraug>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by carandraug (Submitted the item)
  • -unavailable- added by carandraug (OP on the mailing list)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Aug 2017 01:56:28 PM UTCjweSummaryimage package: compilation warnings under Mac OSX=>[octave forge] (image) compilation warnings under Mac OSX
    Fri 15 Jul 2016 09:01:49 PM UTCcarandraugCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1