C++11 support of IBM xlc++ compiler
After failed to compile the head of the ogs6 repository with IBM xlc++ 12.1 compiler, I found that IBM xlc++ 12.1 compiler does not support some features of C++11 such as lamda expression, nullptr as shown on http://wiki.apache.org/stdcxx/C%2B%2B0xCompilerSupport.
The compilation errors given by IBM xlc++ 12.1 compiler are:
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseVector.h", line 95.19: 1540-0130 (S) "std::begin" is not declared.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseMatrix.tpp", line 46.21: 1540-0274 (S) The name lookup for "nullptr" did not find a declaration.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseMatrix.tpp", line 46.21: 1540-1226 (I) Declarations for non-dependent names are resolved in the template definition.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseMatrix.tpp", line 46.21: 1540-1227 (I) "nullptr" does not depend on a template argument.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseMatrix.tpp", line 89.21: 1540-0274 (S) The name lookup for "nullptr" did not find a declaration.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseMatrix.tpp", line 89.21: 1540-1226 (I) Declarations for non-dependent names are resolved in the template definition.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/LinAlg/Dense/DenseMatrix.tpp", line 89.21: 1540-1227 (I) "nullptr" does not depend on a template argument.
"/homea/zdv961/zdv963/code/ogs6/sources/MathLib/InterpolationAlgorithms/PiecewiseLinearInterpolation.cpp", line 51.24: 1540-0063 (S) The text "[" is unexpected.