You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Allan Schrum (JIRA)" <ji...@apache.org> on 2009/07/14 19:35:15 UTC

[jira] Created: (AXIS2-4431) C-language using unwrapped code does not compile

C-language using unwrapped code does not compile
------------------------------------------------

                 Key: AXIS2-4431
                 URL: https://issues.apache.org/jira/browse/AXIS2-4431
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.6
         Environment: Linux
            Reporter: Allan Schrum
            Priority: Minor
             Fix For: 1.6


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.