[Top][All Lists]

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

[Octave-bug-tracker] [bug #63633] SUNDIALS 6.5.0 requires C++14

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63633] SUNDIALS 6.5.0 requires C++14
Date: Mon, 9 Jan 2023 04:49:26 -0500 (EST)


                 Summary: SUNDIALS 6.5.0 requires C++14
                 Project: GNU Octave
               Submitter: mmuetzel
               Submitted: Mon 09 Jan 2023 10:49:24 AM CET
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 8.0.90
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


Follow-up Comments:

Date: Mon 09 Jan 2023 10:49:24 AM CET By: Markus Mützel <mmuetzel>
Building Octave on macOS with Homebrew is currently failing.

In file included from ../libinterp/dldfcn/__ode15__.cc:49:
In file included from /usr/local/include/nvector/nvector_serial.h:42:
In file included from /usr/local/include/sundials/sundials_nvector.h:50:
In file included from /usr/local/include/sundials/sundials_context.h:44:
/usr/local/include/sundials/sundials_context.hpp:31:32: error: unexpected type
name 'SUNContext': expected expression
    sunctx_ = std::make_unique<SUNContext>();
/usr/local/include/sundials/sundials_context.hpp:31:20: error: no member named
'make_unique' in namespace 'std'
    sunctx_ = std::make_unique<SUNContext>();
/usr/local/include/sundials/sundials_context.hpp:31:44: error: expected
    sunctx_ = std::make_unique<SUNContext>();

That is because SUNDIALS 6.5.0 requires `std::make_unique` which was added
with C++14:

Octave currently requires a C++11 compatible compiler.

We should probably add a configure check to make sure the detected version of
SUNDIALS is working with the used compiler (and compiler flags).


Reply to this item at:


Message sent via Savannah

reply via email to

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