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

g++ 3.4 build failure.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • Build
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: