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

Dimuthu Gamage resolved AXIS2C-1380.
------------------------------------

    Resolution: Fixed

Fixed

> Generated code won't compile in VS2005
> --------------------------------------
>
>                 Key: AXIS2C-1380
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1380
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: build system (Windows)
>    Affects Versions: 1.6.0
>         Environment: VS2005
>            Reporter: Alain Beauregard
>
> In the CADBBeanTemplateSource.xsl template, the code for the _deserialize 
> function has the following lines:
> else
> {
>     axiom_node_t *text_node = NULL;
>     text_node = axiom_node_get_first_child(parent, env);
>     axiom_text_t *text_element = NULL;
> This seems to create a problem with MSVC2005. because the declaration of 
> text_element is done
> after a call to a function. Changing to the following should fix this issue.
> else
> {
>     axiom_node_t *text_node = NULL;
>     axiom_text_t *text_element = NULL;
>     text_node = axiom_node_get_first_child(parent, env);

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

Reply via email to