bugGNU Octave - Bugs: bug #49782, compile errors with...

 
 

bug #49782: compile errors with -Werror=implicit-function-declaration and -Werror=implicit-int

Submitter:  Orion Poplawski <opoplawski>
Submitted:  Tue 06 Dec 2016 09:38:38 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Dec 2016 08:08:00 PM UTC, comment #2: 

The change was accepted in gnulib.  I updated the default branch of the Octave sources to the latest gnulib and grafted the fix to Octave's copy of gnulib for the stable branch of Octave.  I think this problem is fixed now, so I'm closing this report.

John W. Eaton <jwe>
Group administrator
Tue 13 Dec 2016 06:05:09 PM UTC, comment #1: 

I checked in the following changeset for Octave:

http://hg.savannah.gnu.org/hgweb/octave/rev/5ede69715ebe

The other change affects gnulib.  I reported the problem to bug-gnulib@gnu.org.  We'll get that fix once it is applied to gnulib and we update.

John W. Eaton <jwe>
Group administrator
Tue 06 Dec 2016 09:38:38 PM UTC, original submission:  

Fedora has started compiling everything with -Werror=implicit-function-declaration and -Werror=implicit-int, see https://fedoraproject.org/wiki/Changes/Fedora26CFlags

This causes compilation errors in an autoconf check that leads to:

checking whether gfortran generates correct size integers... no
configure: error: your Fortran compiler must have an option to make integers the same size as octave_idx_type (int).  See the file INSTALL for more information.

The attached patch fixes this and another check.

Orion Poplawski <opoplawski>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #39168:  octave-implicit.patch added by opoplawski (1KiB - text/x-patch - Updated patch)
file #39167:  octave-implicit.patch added by opoplawski (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by opoplawski (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-14 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2016-12-06 opoplawski Attached File- Added octave-implicit.patch, #39168
    2016-12-06 opoplawski Attached File- Added octave-implicit.patch, #39167

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code