What happened?
Using:
nlohmann/json@11aa5f9
e71e0c2
openssl/openssl@648366a
Compiling with MSVC 19.44.34918.1, and passing /W4 /DJWT_DISABLE_PICOJSON /std:c++latest
Microsoft docs state this warning arises when passing as low as /W2
How To Reproduce?
#include <jwt-cpp/jwt.h>
#include <jwt-cpp/traits/nlohmann-json/defaults.h>
int main() {
jwt::create(); // *jwt.h(2635,85): warning C4244: 'argument': conversion from 'double' to '__time64_t', possible loss of data
}
Version
0.7.1
What OS are you seeing the problem on?
Windows
What compiler are you seeing the problem on?
MSVC
Relevant log output
*jwt.h(2635,85): warning C4244: 'argument': conversion from 'double' to '__time64_t', possible loss of data
Code of Conduct
What happened?
Using:
nlohmann/json@11aa5f9
e71e0c2
openssl/openssl@648366a
Compiling with MSVC 19.44.34918.1, and passing
/W4 /DJWT_DISABLE_PICOJSON /std:c++latestMicrosoft docs state this warning arises when passing as low as
/W2How To Reproduce?
Version
0.7.1
What OS are you seeing the problem on?
Windows
What compiler are you seeing the problem on?
MSVC
Relevant log output
Code of Conduct