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

 
 

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

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

Add a New Comment Rich Markup
   

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>
Group 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)
  •  

    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 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.13-758e.
    Corresponding source code