Chuck Rolke created PROTON-720:

             Summary: [Windows IO] Prints warning string as %d
                 Key: PROTON-720
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: 0.7
         Environment: Windows
            Reporter: Chuck Rolke

Source code:
    fprintf(stderr, "Can't load WinSock: %d\n", pn_error_text(io->error));
prints warning
2>..\..\proton-c\src\windows\io.c(86): warning C4313: 'fprintf'  : 
  '%d' in format string conflicts with argument 1 of type 'const char *'
using VS2013/x64. VS2008/2010 do not warn.

This message was sent by Atlassian JIRA

Reply via email to