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

Compiler errors whole building on AIX 5.3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • CurrentCVS
    • CurrentCVS
    • XalanC
    • None
    • AIX 5.3 (5300-10)
      IBM XL C/C++ Enterprise Edition for AIX, V9.0
      Xalan subversion revision 979236
      ICU 4.4.1

    Description

      I got the following error while compiling xalan:

      xalan/src/xalanc/DOMStringHelper.cpp:
      "xalan/src/xalanc/PlatformSupport/XSLException.hpp", line 199.29: 1540-0109 (S) The "mutable" specifier must be applied only to non-reference class data members.

      http://publib.boulder.ibm.com/infocenter/zvm/v6r1/index.jsp?topic=/com.ibm.zos.r9.cbcdg01/cbcdg15021.htm

      has this note:
      CCN5109 The "mutable" specifier must be applied only to non-reference class data members.
      Explanation:
      The "mutable" specifier is being applied to a declaration that is not a member of a class or a member that is a reference.
      User response:
      Remove the "mutable" specifier.

      I removed the mutable but run into more errors of the same type:

      xalan/src/xalanc/PlatformSupport/ExecutionContext.cpp:
      "xalan/src/xalanc/PlatformSupport/ExecutionContext.hpp", line 113.29: 1540-0109 (S) The "mutable" specifier must be applied only to non-reference class data members.

      xalan/src/xalanc/XPath/Function.cpp:
      "xalan/src/xalanc/XPath/XObjectFactory.hpp", line 325.29: 1540-0109 (S) The "mutable" specifier must be applied only to non-reference class data members.
      "xalan/src/xalanc/XPath/XObjectFactory.hpp", line 251.34: 1540-0251 (S) The "." operator cannot be applied to the undefined class "class XObjectFactory".
      "xalan/src/xalanc/XPath/XObjectFactory.hpp", line 257.34: 1540-0251 (S) The "." operator cannot be applied to the undefined class "class XObjectFactory".

      xalan/src/xalanc/XPath/XPath.cpp:
      "xalan/src/xalanc/XPath/XPathConstructionContext.hpp", line 203.29: 1540-0109 (S) The "mutable" specifier must be applied only to non-reference class data members.
      "xalan/src/xalanc/XPath/XPathConstructionContext.hpp", line 143.45: 1540-0251 (S) The "." operator cannot be applied to the undefined class "class XPathConstructionContext".
      "xalan/src/xalanc/XPath/XPathConstructionContext.hpp", line 151.34: 1540-0251 (S) The "->" operator cannot be applied to the undefined class "class XPathConstructionContext".

      xalan/src/xalanc/XPath/XPathEnvSupportDefault.cpp:
      "xalan/src/xalanc/XPath/XPathEnvSupportDefault.hpp", line 280.45: 1540-0109 (S) The "mutable" specifier must be applied only to non-reference class data members.

      The attached patch solved the errors where I can't say the patch is correct. I only did what the IBM pages said and removed the mutable from these places.

      Unfortunately there are more different kind of errors for xalan/src/xalanc/ICUBridge/ICUBridge.cpp and xalan/src/xalanc/ICUBridge/ICUBridgeCollationCompareFunctorImpl.cpp
      See the second attachment for that.

      Attachments

        1. xalan-703.patch
          2 kB
          Bernd Ernesti
        2. xalan_icu_errors.txt
          18 kB
          Bernd Ernesti

        Activity

          People

            dbertoni David N Bertoni
            bernd2 Bernd Ernesti
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: