hiredis icon indicating copy to clipboard operation
hiredis copied to clipboard

v1.0.0 couldn't work in vs2013

Open zhangxued923 opened this issue 3 years ago • 2 comments

"%zu" is not supported int vs2013. In the function redisvFormatCommand, "pos" will be bad.

image

zhangxued923 avatar Sep 23 '20 03:09 zhangxued923

Thanks for the report. I will try to take a look tomorrow.

I don't have vs2013 but I should be able to come up with a portable solution.

Edit: From what I'm reading VS2013 does have "%zu". Do you mean VS2010?

michael-grunder avatar Sep 23 '20 03:09 michael-grunder

Thanks for the report. I will try to take a look tomorrow.

I don't have vs2013 but I should be able to come up with a portable solution.

Edit: From what I'm reading VS2013 does have "%zu". Do you mean VS2010?

yes, it's vs2013. image

I got the message from here: https://docs.microsoft.com/en-us/previous-versions/tcxf1dw6(v=vs.140)?redirectedfrom=MSDN

and It does not look right while i was debugging. image

zhangxued923 avatar Sep 23 '20 11:09 zhangxued923