Added to possibility to compile unit tests at maximum warning level.

Silenced (amongst others) many conversion related warnings.
This commit is contained in:
Hauke Heibel
2009-12-12 11:39:07 +01:00
parent 494a88685e
commit d088ee35f6
38 changed files with 135 additions and 44 deletions

View File

@@ -67,9 +67,12 @@ template<typename _DecompositionType> struct ei_image_retval_base
}
protected:
const DecompositionType& m_dec;
int m_rank, m_cols;
const MatrixType& m_originalMatrix;
const DecompositionType& m_dec;
int m_rank, m_cols;
const MatrixType& m_originalMatrix;
private:
ei_image_retval_base& operator=(const ei_image_retval_base&);
};
#define EIGEN_MAKE_IMAGE_HELPERS(DecompositionType) \

View File

@@ -67,8 +67,11 @@ template<typename _DecompositionType> struct ei_kernel_retval_base
}
protected:
const DecompositionType& m_dec;
int m_rank, m_cols;
const DecompositionType& m_dec;
int m_rank, m_cols;
private:
ei_kernel_retval_base& operator=(const ei_kernel_retval_base&);
};
#define EIGEN_MAKE_KERNEL_HELPERS(DecompositionType) \

View File

@@ -61,8 +61,11 @@ template<typename _DecompositionType, typename Rhs> struct ei_solve_retval_base
}
protected:
const DecompositionType& m_dec;
const typename Rhs::Nested m_rhs;
const DecompositionType& m_dec;
const typename Rhs::Nested m_rhs;
private:
ei_solve_retval_base& operator=(const ei_solve_retval_base&);
};
#define EIGEN_MAKE_SOLVE_HELPERS(DecompositionType,Rhs) \