Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5349

generated skel and stub headers should be wrapped with ifndef/define/endif block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.6.1, 1.6.2
    • 1.6.3, 1.7.0
    • None
    • None

    Description

      I'm working on making Eucalyptus compatible with Axis2 version 1.6, and one of the issues that I found was that generated header files don't use #ifndef , which can cause compiler errors due to "redefinition" of functions if the header is imported multiple times.

      The attached patch fixed the problem for me.

      Attachments

        1. axis2-wrap-headers.patch
          2 kB
          Andy Grimm

        Activity

          People

            Unassigned Unassigned
            agrimm Andy Grimm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: