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

Multiple déclarations of axutil_error_messages when using axis2 on large C++ projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • None
    • Linux/G++ (Netbeans 5.5 + C++ pack)

    Description

      In axutil_error.h there's this declaration :

      const axis2_char_t* axutil_error_messages[AXIS2_ERROR_LAST + 10000];

      So, when I compile a C++ project with 2 class that #include <axiom.h> (because they process xml with axiom) there's a linker error : multiple definition of `axutil_error_messages'.

      By using version 0.96 or when I delete this line in axutil_error.h I don't encounter this problem anymore ....

      Thanks for your help !

      Attachments

        Activity

          People

            Unassigned Unassigned
            progexia JL LESIEUR
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: