axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chintan85 <chintanvhpar...@gmail.com>
Subject Re: for input string "I32d"
Date Sat, 31 Dec 2011 10:18:39 GMT

Hi Zhigang,
                Thank you for sharing this issue and solution. I faced same
error while using Axis2/C with Java Web Service. The solution you posted
fixed it. It saved me lot of time and effort:handshake:. 

Thanks ,
Chintan

xzg wrote:
> 
> Hi all,
> 
> There is a bug in axis2/c if compiles codes by vc6. It does not accept
> "int" parameters, and always complains as: for input string "I32d".
> 
> I edit codes in vc2008, and complie in vc6. It takes me more than three
> days to locate the bug. There is a definition for
> AXIS2_PRINTF_INT32_FORMAT_SPECIFIER in axutil_utils_defines.h as "%I32d".
> It causes the bug. To fix it, should change the codes as:
> 
> 
> # if defined(_MSC_VER) && _MSC_VER >= 1300
> #  define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%I32d"
> #  define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%I32u"
> # else
> #  define AXIS2_PRINTF_INT32_FORMAT_SPECIFIER "%d"
> #  define AXIS2_PRINTF_UINT32_FORMAT_SPECIFIER "%u"
> # endif
> 
> 
> Regards,
> Zhigang
> 
> 

-- 
View this message in context: http://old.nabble.com/for-input-string-%22I32d%22-tp28591406p33058535.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org


Mime
View raw message