You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ax...@ws.apache.org on 2004/08/11 12:04:20 UTC
[jira] Resolved: (AXISCPP-124) Use of platform specific itoa in generated stubs
Message:
The following issue has been resolved as FIXED.
Resolver: Adrian Dick
Date: Wed, 11 Aug 2004 3:03 AM
Fixed as described in notes, and short discussion on mailing list with Samisa
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/AXISCPP-124
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXISCPP-124
Summary: Use of platform specific itoa in generated stubs
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Project: Axis-C++
Components:
WSDL processing
Fix Fors:
current (nightly)
Versions:
current (nightly)
Assignee: Adrian Dick
Reporter: Adrian Dick
Created: Wed, 11 Aug 2004 3:01 AM
Updated: Wed, 11 Aug 2004 3:03 AM
Environment: Unix/Linux
Description:
The use of the itoa keyword causes problems on Unix/Linux platforms where it is not available.
A suitable alternative would be the use of sprintf.
src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/ClientStubWriter.java:293:
writer.write("\t\titoa( Value"+i+", buffer, 10);\n");
Needs to become:
writer.write("\t\tsprintf(buffer,\"%d\", Value"+i+");\n");
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira