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

 
 

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

Submitted by:  Orion Poplawski <opoplawski>
Submitted on:  Tue 06 Dec 2016 09:38:38 PM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project 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 File(s):
   
   
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
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by opoplawski (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 14 Dec 2016 08:08:00 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 06 Dec 2016 09:40:20 PM UTCopoplawskiAttached File-=>Added octave-implicit.patch, #39168
    Tue 06 Dec 2016 09:38:38 PM UTCopoplawskiAttached File-=>Added octave-implicit.patch, #39167

    Back to the top


    Powered by Savane 3.1-cleanup1