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

C-language using unwrapped code does not compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.6.0
    • None
    • code generation
    • None
    • Linux

    Description

      Using the "-uw" option unwrapped code is generated. The WSDL-generated types (e.g. adb_GenericValue_t) are used in functions returning or using pointers (e.g. adb_GenericValue_t*). If the WSDL includes an allowable range, then the generated code creates a type by appending "[]" to the previous type (e.g. adb_GenericValue_t*[]). Unfortunately, gcc 4.2.2 dislikes that syntax and prefers "" (e.g. adb_GenericValue_t). Changing the generated code to replace the "[]" with "" fixes the problem.

      Attachments

        Activity

          People

            Unassigned Unassigned
            allan.schrum Allan Schrum
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: