-
Notifications
You must be signed in to change notification settings - Fork 159
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 failures with char8_t by MSVC under /std:c++latest(C++20) mode #276
Comments
OK, I assume this is a new C++20 feature - and one that breaks existing code given that Thanks, John. |
Hey John, Casey Carter here from MSVC.
My understanding is that WG21 is no longer maintaining SD-6 now that the feature-test macros are being formally standardized and have moved into the working draft for C++20. There are two feature-test macros related to And yes, Let me know if you have any questions or if there's anything I can do to ease the fix. |
Many thanks for the clarification - the commit referenced above should hopefully fix this now. |
Looks right to me. Thanks for the quick response. |
We've stumbled across some build failures in Boost\libs\config\test after implementing support for char8_t under /std:c++latest in the development version of Visual C++. Could you help look at this? Thanks in advance! Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.
Repro steps:
Failures:
config_test.i
D:\Boost\src\libs\config\test\boost_no_unicode_literals.ipp(20): error C2440: 'initializing': cannot convert from 'const char8_t [1]' to 'const char *'
D:\Boost\src\libs\config\test\boost_no_unicode_literals.ipp(20): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
The text was updated successfully, but these errors were encountered: