Re: [eigen] eigen-3.0.5 and g++ 4.7.2

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


This has been fixed in the HG version and probably in the 3.1.1 version, as well.
Helmut.

On 10/25/2012 05:59:59 PM, Brad Bell wrote:
Attached you will find the results of running the program with g++ versions 4.6.3 (no warnings) and 4.7.2 (warnings).

All of the warnings seem to the same, namely

In file included from /home/bradbell/prefix/eigen/include/Eigen/Core:277:0,
from ../cppad/example/cppad_eigen.hpp:68,
from eigen_det.cpp:33:
/home/bradbell/prefix/eigen/include/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<float, 4, 1> >’: /home/bradbell/prefix/eigen/include/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<float, 4, 1> >’ /home/bradbell/prefix/eigen/include/Eigen/src/Core/PlainObjectBase.h:65:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<float, 4, 1> >’ /home/bradbell/prefix/eigen/include/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<float, 4, 1>’ /home/bradbell/prefix/eigen/include/Eigen/src/Geometry/Quaternion.h:287:16: required from ‘class Eigen::Quaternion<float>’ /home/bradbell/prefix/eigen/include/Eigen/src/Geometry/arch/Geometry_SSE.h:35:3: required from here /home/bradbell/prefix/eigen/include/Eigen/src/Core/DenseBase.h:103:10: warning: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<4, 1>::<anonymous enum>’ vs ‘Eigen::internal::traits<Eigen::Matrix<float, 4, 1> >::<anonymous enum>’ [-Wenum-compare]
~



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/