Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std::move error when building #3

Open
drwave opened this issue Oct 17, 2023 · 0 comments
Open

std::move error when building #3

drwave opened this issue Oct 17, 2023 · 0 comments

Comments

@drwave
Copy link

drwave commented Oct 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant