Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
CurrentCVS
-
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.
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.