Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1208

g++ 3.4 build failure.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.6.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Redhat 9, g++ 3.4

      Description

      Build fails using g++ 3.4, when instantiating templates within util/RefArrayOf.c. The fix is to include framework/MemoryManager.hpp in RefArrayOf.hpp (sorry patches don't cut and paste well here):

      diff -Naur xerces-c-src_2_5_0/src/xercesc/util/RefArrayOf.hpp xerces-c-src_2_5_0-new/
      src/xercesc/util/RefArrayOf.hpp
      — xerces-c-src_2_5_0/src/xercesc/util/RefArrayOf.hpp 2004-01-29 11:48:46.000000000
      +0000
      +++ xerces-c-src_2_5_0-new/src/xercesc/util/RefArrayOf.hpp 2004-05-11 03:21:51.0
      00000000 +0000
      @@ -101,6 +101,7 @@
      #include <xercesc/util/ArrayIndexOutOfBoundsException.hpp>
      #include <xercesc/util/IllegalArgumentException.hpp>
      #include <xercesc/util/XMLEnumerator.hpp>
      +#include <xercesc/framework/MemoryManager.hpp>

      XERCES_CPP_NAMESPACE_BEGIN

        Attachments

        1. patch.xerces
          0.5 kB
          Robert Lowrie

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              robert.lowrie Robert Lowrie
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: