Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-433

WSDL2C (java tool) compilation errors in generated code due to "-" character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.96
    • code generation
    • None
    • Windows XP, Visual Studio 2005

    Description

      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 : '-'

      Attachments

        Activity

          People

            dchandradasa Marcus Dushshantha Chandradasa
            hoodoo99 Dave Meier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: