WSDL2C (java tool) compilation errors in generated code due to "-" character
----------------------------------------------------------------------------
Key: AXIS2C-433
URL: http://issues.apache.org/jira/browse/AXIS2C-433
Project: Axis2-C
Issue Type: Bug
Components: code generation
Affects Versions: Current (Nightly)
Environment: Windows XP, Visual Studio 2005
Reporter: Dave Meier
Priority: Blocker
Using WSDL2C (java tool), generated code has compilation problem with "-"
characters:
First Case:
#ifndef AXIS2_ATTACHMENT-ACCESS-TYPE_H // generated code
d:\ttaxis\generated code\axis2_attachment-access-type.h(3) : warning C4067:
unexpected tokens following preprocessor directive - expected a newline
d:\ttaxis\generated code\axis2_attachment-access-type.h(4) : error C2008: '-' :
unexpected in macro definition
Second Case:
typedef struct axis2_Attachment-Access-Type
axis2_Attachment-Access-Type_t; // generated code
d:\ttaxis\generated code\axis2_attachment-access-type.h(30) : error C2059:
syntax error : '-'
--
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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]