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

[BUG] char8_t/u8string support broken since 2.9 #4277

Closed
VemundH opened this issue Oct 23, 2022 · 0 comments · Fixed by #4278
Closed

[BUG] char8_t/u8string support broken since 2.9 #4277

VemundH opened this issue Oct 23, 2022 · 0 comments · Fixed by #4278

Comments

@VemundH
Copy link
Contributor

VemundH commented Oct 23, 2022

#3521 broke support as __cpp_lib_char8_t is only available after including standard header <version> or one of the other specified by the standard. It actually works for MSVC debug builds due to #3497.

My workaround is to include <version> before including pybind11.h

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