[eigen] compile with gcc-4.8.0-ptr warnings |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
Hi,
I've just tried to compile a source code with Eigen-git-2012-03-15 by
using
gcc-4.8.0 (snapshot from 2012/03/18
I get lots of warnings, e.g.
In file included from /usr/local/include/Eigen/Eigen/Core:283:0,
from Eigen_Ortho.C:6:
/usr/local/include/Eigen/Eigen/src/Core/DenseBase.h: In instantiation
of 'class Eigen::DenseBase<Eigen::Matrix<double, -1, -1> >':
/usr/local/include/Eigen/Eigen/src/Core/MatrixBase.h:61:34: required
from 'class Eigen::MatrixBase<Eigen::Matrix<double, -1, -1> >'
/usr/local/include/Eigen/Eigen/src/Core/PlainObjectBase.h:85:7:
required from 'class Eigen::PlainObjectBase<Eigen::Matrix<double, -1,
-1> >'
/usr/local/include/Eigen/Eigen/src/Core/Matrix.h:140:7: required from
'class Eigen::Matrix<double, -1, -1>'
Eigen_Ortho.C:10:17: required from here
/usr/local/include/Eigen/Eigen/src/Core/DenseBase.h:103:10: warning:
enumeral mismatch in conditional expression:
'Eigen::internal::size_at_compile_time<-1, -1>::<anonymous enum>' vs
'Eigen::internal::traits<Eigen::Matrix<double, -1, -1> >::<anonymous
enum>' [enabled by default]
What can I do about this (it fills many screens)?
Many thanks for a hint,
Helmut.