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

Compilation error when using c++20 without char8_t support #40

Closed
d0nc1h0t opened this issue Dec 21, 2022 · 0 comments · Fixed by #43
Closed

Compilation error when using c++20 without char8_t support #40

d0nc1h0t opened this issue Dec 21, 2022 · 0 comments · Fixed by #43
Assignees

Comments

@d0nc1h0t
Copy link

Using the c++20 version of the standard does not automatically support char8_t. Compilers have options to disable various features, including char8_t support (for example, '-fno-char8_t' in GCC). It is more correct to check the support directly for char8_t via __cpp_char8_t.

alandefreitas added a commit to alandefreitas/static_string that referenced this issue Jan 12, 2023
alandefreitas added a commit to alandefreitas/static_string that referenced this issue Jan 12, 2023
alandefreitas added a commit that referenced this issue Jan 19, 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

Successfully merging a pull request may close this issue.

2 participants