ufz/ogs — Issue #4: Does not compile on  Mac OS with gcc 4.2.1
Author: bilke
Created: 2012-01-05 13:22:31+00:00
State: open

Until this issue is fixed use the **LLVM compiler** which comes with Xcode.

This is the error message:

Sparse/../MatrixBase.h: In member function ‘IDX_TYPE MathLib::CRSMatrix::getNNZ() const’:
Sparse/../MatrixBase.h:57: error: object missing in reference to ‘MathLib::MatrixBase::_n_rows’
Sparse/CRSMatrix.h:74: error: from this location

It seems to be some error when using templates.

On all other tested gcc versions and platforms it works.