-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
More warnings: Android #309
Comments
Fixed on master, thanks. Could you check if you can compile master cleanly? I'm compiling using gcc and clang with
and using PVS Studio locally, but your recently reported warnings weren't picked up. Thanks, |
I just tested with master. Something is up. I see the length on those lines have the unused variable, but I have no idea why clang complains and gcc not. Unless somehow that code is dead or something on gcc. |
My apologies, I had neglected to push that branch to master, could you try again? It's a good question, but there is no difference in code coverage between the gcc and clang builds. |
Actually, that section of code is only used in android builds, so that explains that. |
Describe the bug
include/jsoncons/detail/parse_number.hpp:861
andinclude/jsoncons/detail/parse_number.hpp:874
have errors that length is unused:operator()(const CharT* s, std::size_t length) const
. it's odd though because amd64 native compiled just fine, it just seemed clang got in there.What compiler, architecture, and operating system?
What jsoncons library version?
The text was updated successfully, but these errors were encountered: