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

Robert Lazarski resolved AXIS2C-1513.
-------------------------------------
    Resolution: Fixed

 - The new Native generator uses axutil_array_list_t* which avoids this syntax 
  issue entirely                                                        
  - The unwrap feature isn't implemented in the native generator anyway 
  - The original issue was specific to Java wsdl2c's template-based code
   generation                                                           
                                                                        
  If unwrap support is ever added to the native generator, it should    
  continue using axutil_array_list_t* for arrays, which inherently      
  avoids this bug. 

> 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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to