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 "Bill Blough (JIRA)" <ji...@apache.org> on 2019/08/17 17:10:00 UTC

[jira] [Updated] (AXIS2C-1513) C-language using unwrapped code does not compile

     [ https://issues.apache.org/jira/browse/AXIS2C-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Blough updated AXIS2C-1513:
--------------------------------
    Component/s: code generation

> C-language using unwrapped code does not compile
> ------------------------------------------------
>
>                 Key: AXIS2C-1513
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1513
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: code generation
>    Affects Versions: 1.6.0
>         Environment: Linux
>            Reporter: Allan Schrum
>            Priority: Minor
>
> 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 was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org