Closed AndreyAlifanov closed 1 year ago
Thanks for reporting this warning. It looks like you're using the wchar_t
interface, the real issue is that we don't have sufficient test coverage for the wchar_t
interface, so this warning wasn't being detected in our tests. I've added tests that cover the cases where c - '0'
is used in wstring
to binary conversions, and reproduced your issue, and a couple of others. Fixed on master.
Thanks for quick fix!!!
Hi,
I try to compile new version of jsoncons and get next errors (I know: these are warinngs but in our project all warnings treated as errors).
Version 0.167.1 did not have such warnings and errors.
I think it should be something like this: