We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Visual Studio has very conservative approach for macro __cplusplus. Even when used with /std:c++17 switch it still shows this:
__cplusplus
/std:c++17
So by fact Visual Studio will not use cpp17.h header without forcing value UTF_CPP_CPLUSPLUS to 201703L. For windows it is better to use this:
cpp17.h
UTF_CPP_CPLUSPLUS
201703L
#if (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) //whatever #endif
Related issue in transmission: transmission/transmission#2256
The text was updated successfully, but these errors were encountered:
I really don't want to chase compiler-specific corner cases.
Setting UTF_CPP_CPLUSPLUS to 201703L is the way to address the issue.
Sorry, something went wrong.
No branches or pull requests
Visual Studio has very conservative approach for macro
__cplusplus
. Even when used with/std:c++17
switch it still shows this:So by fact Visual Studio will not use
cpp17.h
header without forcing valueUTF_CPP_CPLUSPLUS
to201703L
. For windows it is better to use this:Related issue in transmission: transmission/transmission#2256
The text was updated successfully, but these errors were encountered: