patchGNU Octave - Patches: patch #9782, fix building failure with c++17...

 
 

patch #9782: fix building failure with c++17 standard

Submitted by:  Fabio <efferre79>
Submitted on:  Wed 03 Apr 2019 09:26:04 AM UTC  
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 03 Apr 2019 01:28:44 PM UTC, comment #1: 

Thanks, I pushed the change on stable and merged with default.

John W. Eaton <jwe>
Project Administrator
Wed 03 Apr 2019 09:26:04 AM UTC, original submission:  

c++17 standard removed deprecated aliases std::ios::streampos (http://www.cplusplus2017.info/removed-features-from-c17/)

in the code there is still only a place using it, in liboctave/util/lo-utils.cc, all other places are using std::streampos

here is a simple patch to fix the build failure with gcc using -std=c++17

Fabio <efferre79>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #46705:  octave-5.1.0-c++17.patch added by efferre79 (363B - 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 efferre79 (Submitted the item)
  •  

    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 logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-03 jwe StatusNone => Done
        Open/ClosedOpen => Closed
    2019-04-03 efferre79 Attached File- => Added octave-5.1.0-c++17.patch, #46705

    Back to the top


    Powered by Savane 3.5