-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
-Wconversion warning #259
Comments
Could you please try the latest version in the |
I tried with the
|
This is a known error of GCC 4.8 which is therefore not supported by the library, see https://github.com/nlohmann/json#supported-compilers. Can you try with a more recent compiler? |
Ok, thanks for your help! |
Hi, I'm running into the same issue, but with commit 15a314a. |
This is very strange. Can you please provide the concrete warning output? |
here's the build output.
|
Hi @guygman, thanks for providing more information. It seems as if Clang is choking on an implicit conversion from |
Hi, compiling with that branch worked much better! there was no conversion error. |
That branch has now been merge with develop, see f86fe57 . |
I'm receiving a
-Wconversion
warning when including and compiling the latest release of the library. I read #239 but the errors showed are different (although it's the same flag that sends the warning), also the links present there are down.Here is the complete output:
-std=c++11 -Wall -Werror -Wconversion -Wno-unused-parameter -Wextra -Wtype-limits -pedantic -pedantic-errors
The text was updated successfully, but these errors were encountered: