You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2014/10/23 19:08:34 UTC
[jira] [Resolved] (PROTON-720) [Windows IO] Prints warning string
as %d
[ https://issues.apache.org/jira/browse/PROTON-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chuck Rolke resolved PROTON-720.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.8
Fixed with 1633619
> [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
> Fix For: 0.8
>
>
> 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)