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

compile error after updating to Xcode 14.3: no member named 'move' in namespace 'std' #290

Closed
sophiapoirier opened this issue Apr 4, 2023 · 0 comments

Comments

@sophiapoirier
Copy link

In file included from vstgui/vstgui/vstgui.h:8:
../../vstgui/vstgui/lib/vstguibase.h:351:16: error: no member named 'move' in namespace 'std'; did you mean 'modf'?
                *this = std::move (op);
                        ~~~~~^~~~
                             modf
In file included from vstgui/vstgui/vstgui.h:8:
../../vstgui/vstgui/lib/vstguibase.h:419:15: error: no member named 'move' in namespace 'std'; did you mean 'modf'?
        *this = std::move (mp);
                ~~~~~^~~~
                     modf

Patch attached that resolves the build failure, however more thorough IWYU is probably in order and #include <utility> should really be added to every file that uses std::move.
std.move.diff.txt

scheffle added a commit that referenced this issue Apr 13, 2023
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

2 participants