-
Notifications
You must be signed in to change notification settings - Fork 226
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
The C++20 break u8 string literal compatibility bug #299
Comments
Yes, this is a known issue. I'm not happy with suggestions yet that will satisfy both c++17 and c++20. |
I am OK with this solution: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1423r2.html#emulate |
I work with Linux and do not have MSVC installed, so the solution provided in the PR can only be described as initially verified on GCC for Linux. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
The C++20 P1423R2 paper make compiler compile error if source code using u8"..." string literal with
-std=c++20
Suggestion
remove all u8 string literal prefix
The text was updated successfully, but these errors were encountered: