Chuck Rolke created PROTON-720:
----------------------------------
Summary: [Windows IO] Prints warning string as %d
Key: PROTON-720
URL: https://issues.apache.org/jira/browse/PROTON-720
Project: Qpid Proton
Issue Type: Bug
Components: proton-c
Affects Versions: 0.7
Environment: Windows
Reporter: Chuck Rolke
Source code:
{noformat}
fprintf(stderr, "Can't load WinSock: %d\n", pn_error_text(io->error));
{noformat}
prints warning
{noformat}
2>..\..\proton-c\src\windows\io.c(86): warning C4313: 'fprintf' :
'%d' in format string conflicts with argument 1 of type 'const char *'
{noformat}
using VS2013/x64. VS2008/2010 do not warn.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)