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 Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Billy Schwartz Open/Closed:  Open
Release:  other Operating 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*(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));

Carnë Draug <carandraug>
Project Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-13 jwe Summaryimage package: compilation warnings under Mac OSX => [octave forge] (image) compilation warnings under Mac OSX
    2016-07-15 carandraug Carbon-Copy- => Added -email is unavailable-

    Back to the top


    Powered by Savane 3.3