-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Just did a fresh clone to try and build the example, but get errors around std::move:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/OpenTimelineIO/typeRegistry.cpp:1:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/typeRegistry.h:3:
In file included from /Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/opentimelineio/any.h:3:
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:117:18: error: no member named 'move' in namespace 'std'
any(std::move(rhs)).swap(*this);
~~~~~^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:26: error: no type named 'move' in namespace 'std'
any tmp(std::move(rhs));
~~~~~^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:20: warning: parentheses were disambiguated as a function declaration [-Wvexing-parse]
any tmp(std::move(rhs));
^~~~~~~~~~~~~~~~
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:163:21: note: add a pair of parentheses to declare a variable
any tmp(std::move(rhs));
^
(
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:285:33: error: no member named 'move' in namespace 'std'; did you mean simply 'move'?
new (&dest.stack) T(std::move(reinterpret_cast<T&>(src.stack)));
^~~~~~~~~
move
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:281:21: note: 'move' declared here
static void move(storage_union& src, storage_union& dest) noexcept
^
/Users/drwave/Library/Developer/Xcode/DerivedData/otio-swift-example-akozuopdosqumigmatbhnhqleyjb/SourcePackages/checkouts/OpenTimelineIO-Swift-Bindings/OpenTimelineIO/src/deps/any/any.hpp:410:21: error: no member named 'move' in namespace 'std'
return std::move(*p);
~~~~~^
1 warning and 4 errors generated.