You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by xzg <xz...@eimagesoft.com> on 2010/05/18 06:22:00 UTC

for input string "I32d"

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

RE: for input string "I32d"

Posted by "Harvey III, Russell N" <Ru...@ca.com>.
unsubscribe

-----Original Message-----
From: Chintan85 [mailto:chintanvhparmar@gmail.com] 
Sent: Saturday, December 31, 2011 5:19 AM
To: axis-c-user@ws.apache.org
Subject: Re: for input string "I32d"


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


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


Re: for input string "I32d"

Posted by Chintan85 <ch...@gmail.com>.
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