Compiler errors whole building on AIX 5.3
-----------------------------------------

                 Key: XALANC-703
                 URL: https://issues.apache.org/jira/browse/XALANC-703
             Project: XalanC
          Issue Type: Bug
          Components: XalanC
    Affects Versions: CurrentCVS
         Environment: AIX 5.3 (5300-10)
IBM XL C/C++ Enterprise Edition for AIX, V9.0
Xalan subversion revision 979236
ICU 4.4.1
            Reporter: Bernd Ernesti
            Priority: Blocker
             Fix For: 1.1.x


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to