Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-686

Compile error with XalanDequeIterator with stlport 5.1.5 with stlport_debug , or Visual C++ 9 for secure SCL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.10
    • CurrentCVS
    • XalanC
    • None
    • stlport 5.1.5 with stlport_debug , or Visual C++ 9 for secure SCL

    Description

      There is a compile error with the XalanDequeIterator class with some of the std algorithms, which make use of the < operator to check the range.

      Also for a random_access_itetator this member is meant to be supplied to be a std container.

      To fix make the change

      <XalanDeque.hpp>
      struct XalanDequeIterator
      {
      ....
      // Add the following to fix
      bool operator<(const XalanDequeIterator & theRhs) const

      { return m_pos < theRhs.m_pos; }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mdavey Malcolm Davey
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: