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

C++20 support on Windows #2206

Closed
godefv opened this issue Nov 7, 2020 · 0 comments · Fixed by #2212
Closed

C++20 support on Windows #2206

godefv opened this issue Nov 7, 2020 · 0 comments · Fixed by #2212

Comments

@godefv
Copy link

godefv commented Nov 7, 2020

With GCC 10.2 on linux, I can compile with C++20. It seems to have kept backward compatibility, despite the C++20 standard not requiring it.
With Clang or VS2019 on Windows 10, compilation fails. There a couple of other issues in addition to result_of.

You can check here (godefv/Cinder@f33b943) what I have done to successfully compile with C++20. This commit is on top of this PR.

(see PR #2133 for C++17 with VS2019)

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

Successfully merging a pull request may close this issue.

1 participant