Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1380

Generated code won't compile in VS2005

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • build system (Windows)
    • None
    • VS2005

    Description

      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);

      Attachments

        Activity

          People

            Unassigned Unassigned
            alainbo Alain Beauregard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: