-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Strange warnings in Code::Blocks 17.12, GNU GCC #1192
Comments
Are you using MinGW? |
yes |
Then I guess MinGW does not implement |
It seems we do not need the |
Could you please check if the latest develop version fixes this issue? |
Yeah, sorry I forgot to check back here. I'll have a response in about 11 hours |
Works great, mingw builds it with no warnings/errors |
Thanks for checking! |
I'm seeing similar warnings when using MinGW again: json.hpp:3780:105: warning: unknown conversion type character 'h' in format [-Wformat=] |
I'll check. |
@jacob-keller Could you please check whether the warning disappears in branch https://github.com/nlohmann/json/tree/issue1192? |
I'm not sure exactly what's causing it to happen but when I compile my project I often get these warnings:
I'm using the single header version with sfml version 2.5.0, everything else is vanilla C++.
I was able to "fix" this a few times before by removing extra includes in my classes but now it remains more constant. My project compiles and runs fine with the warnings but they're annoying and I'm not sure if they're too important. Is this normal and/or can it be fixed?
The text was updated successfully, but these errors were encountered: