You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling with Clang-cl 20.1.1, and passing /W4 /DJWT_DISABLE_PICOJSON /std:c++latest
How To Reproduce?
#include<jwt-cpp/jwt.h>
#include<jwt-cpp/traits/nlohmann-json/defaults.h>intmain() {
// *jwt.h(3530,70): warning : 'strerror' is deprecated: This function or variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]// *jwt.h(3546,27): warning : 'wcrtomb' is deprecated: This function or variable may be unsafe. Consider using wcrtomb_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]jwt::create();
}
Version
0.7.1
What OS are you seeing the problem on?
Windows
What compiler are you seeing the problem on?
Clang
Relevant log output
*jwt.h(3530,70): warning :'strerror' is deprecated: This functionor variable may be unsafe. Consider using strerror_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online helpfor details. [-Wdeprecated-declarations]
*jwt.h(3546,27): warning :'wcrtomb' is deprecated: This functionor variable may be unsafe. Consider using wcrtomb_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online helpfor details. [-Wdeprecated-declarations]
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
As with all bounds-checked functions, strerror_s and strerrorlen_s are only guaranteed to be available if STDC_LIB_EXT1 is defined by the implementation and if the user defines STDC_WANT_LIB_EXT1 to the integer constant 1 before including <string.h>
What happened?
Using:
nlohmann/json@11aa5f9
e71e0c2
openssl/openssl@648366a
Compiling with Clang-cl 20.1.1, and passing
/W4 /DJWT_DISABLE_PICOJSON /std:c++latest
How To Reproduce?
Version
0.7.1
What OS are you seeing the problem on?
Windows
What compiler are you seeing the problem on?
Clang
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: