[
https://issues.apache.org/jira/browse/AXIS2C-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Lazarski resolved AXIS2C-1374.
-------------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
The new native generator was written with proper C prototypes from the start.
The native generator:
1. Does not generate is_particle() functions at all
2. All generated function declarations have proper prototypes with
explicit parameters (e.g., adb_PersonType_create(const axutil_env_t
*env))
I verified this by checking the generated test output - no empty ()
parameter lists exist.
> adb generated code has warnings
> -------------------------------
>
> Key: AXIS2C-1374
> URL: https://issues.apache.org/jira/browse/AXIS2C-1374
> Project: Axis2-C
> Issue Type: Bug
> Components: code generation
> Environment: gcc -g -Wuninitialized -O2 -Wall -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror
> -Wno-missing-prototypes -Wno-unused
> Reporter: Eric Haszlakiewicz
> Priority: Major
> Labels: patch
> Fix For: 2.0.0
>
> Attachments: CADBBeanTemplate.diff3
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> The attached patch was include in AXIS2C-1271, but it didn't get applied.
> This fixes a couple of warnings in generated code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]