octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9782] fix building failure with c++17 sta


From: Fabio
Subject: [Octave-patch-tracker] [patch #9782] fix building failure with c++17 standard
Date: Wed, 3 Apr 2019 05:26:06 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

URL:
  <https://savannah.gnu.org/patch/?9782>

                 Summary: fix building failure with c++17 standard
                 Project: GNU Octave
            Submitted by: efferre79
            Submitted on: Wed 03 Apr 2019 09:26:04 AM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 03 Apr 2019 09:26:04 AM UTC  Name: octave-5.1.0-c++17.patch  Size:
363B   By: efferre79

<http://savannah.gnu.org/patch/download.php?file_id=46705>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9782>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]