bugGNU Octave - Bugs: bug #49505, optim package:...

 
 

bug #49505: optim package: no-return-in-nonvoid-function

Submitted by:  Dmitry <rdmitry>
Submitted on:  Tue 01 Nov 2016 12:14:02 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: otherOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 17 Nov 2016 06:33:09 PM UTC, comment #2:

The pushed patch silences this and another (-Wall) warning in samin.cc. Thanks. Note that the no-return-warning was wrong, the return was only too well hidden for the compiler.

Olaf Till <i7tiol>
Project Member
Thu 17 Nov 2016 03:52:43 AM UTC, comment #1:

On inspection, looks like DEFUN_DLD(samin) is missing a "return octave_value_list()" at the end if it really is expected to never return anything.

No sure about the other one, does the build system give any hint what that is about? Is it talking about the same function, that the lack of a return leaves random data on the stack?

Adding package maintainer in cc.

Mike Miller <mtmiller>
Project Administrator
Tue 01 Nov 2016 12:14:02 PM UTC, original submission:

Octave 4.2.0-rc3, optim package version 1.5.2
Unfortunately openSUSE build system marks such warnings as build errors.

Dmitry <rdmitry>

 

(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 i7tiol (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by mtmiller
  • -unavailable- added by rdmitry (Submitted the item)
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Nov 2016 06:36:15 PM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 17 Nov 2016 03:52:43 AM UTCmtmillerRelease4.2.0-rc3=>other
      SummaryOctave Forge optim no-return-in-nonvoid-function=>optim package: no-return-in-nonvoid-function
      Carbon-Copy-=>Added i7tiol

    Back to the top


    Powered by Savane 3.1-cleanup1