Open
Description
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?
#include <jwt-cpp/jwt.h>
#include <jwt-cpp/traits/nlohmann-json/defaults.h>
int main() {
// *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 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]
Code of Conduct
- I agree to follow this project's Code of Conduct