Skip to content

OTIO submodule update stuck on std::any C++ version issue #64

@jminor

Description

@jminor

Dependabot updates to the OTIO version used in these Swift bindings are stuck on a C++ version issue. See this PR for example: #57

Example build errors:

In file included from /Users/runner/work/OpenTimelineIO-Swift-Bindings/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/serializableObject.h:9:
/Users/runner/work/OpenTimelineIO-Swift-Bindings/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/anyDictionary.h:29:58: error: no member named 'any' in namespace 'std'
class AnyDictionary : private std::map<std::string, std::any>
                                                    ~~~~~^
/Users/runner/work/OpenTimelineIO-Swift-Bindings/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/anyDictionary.h:32:11: error: use of undeclared identifier 'map'
    using map::map;
          ^

It is likely that we just need to specify C++17 in the build setup for these bindings to resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions