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

Reply via email to