Skip to content

Build fails on macOS 14 #373

@volkm

Description

@volkm

The build currently fails on macos-14 with the following error:

/Users/runner/work/stormpy/stormpy/build/cp314-cp314-macosx_14_0_arm64/_deps/storm-src/resources/3rdparty/exprtk/exprtk.hpp:4823:17: error: missing 'typename' prior to dependent type name 'std::vector<type_store<T>>::const_iterator'
           inline std::vector<type_store>::const_iterator begin() const
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  typename
  /Users/runner/work/stormpy/stormpy/build/cp314-cp314-macosx_14_0_arm64/_deps/storm-src/resources/3rdparty/exprtk/exprtk.hpp:4828:17: error: missing 'typename' prior to dependent type name 'std::vector<type_store<T>>::const_iterator'
           inline std::vector<type_store>::const_iterator end() const
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  typename
  /Users/runner/work/stormpy/stormpy/build/cp314-cp314-macosx_14_0_arm64/_deps/storm-src/resources/3rdparty/exprtk/exprtk.hpp:4833:17: error: missing 'typename' prior to dependent type name 'std::vector<type_store<T>>::iterator'
           inline std::vector<type_store>::iterator begin()
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  typename
  /Users/runner/work/stormpy/stormpy/build/cp314-cp314-macosx_14_0_arm64/_deps/storm-src/resources/3rdparty/exprtk/exprtk.hpp:4838:17: error: missing 'typename' prior to dependent type name 'std::vector<type_store<T>>::iterator'
           inline std::vector<type_store>::iterator end()
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  typename
  4 errors generated.

This is triggered because the latest Github image uses Clang 15.0.7 instead of AppleClang 15.0.0.15000309. This should be reverted by Github by going to older images, see actions/runner-images#13827.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions