[eigen] warnings in gcc 4.7

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


All,

GCC 4.7 generates tons of warnings on eigen like this one

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::Diagonal<const Eigen::Matrix<double, 1, 1, 0, 1, 1>, 0> >::<anonymous enum>' [enabled by default]

it seems this option  -Wenum-compare generates it which is enabled by default in c++

any idea if eigen3 needs to be fixed or is it gcc ?

Best regards
C.
--
Christophe Prud'homme
Université de Grenoble      christophe.prudhomme@xxxxxxxxxxxxxxx
LJK - Room 55                  Tel: +33476635497
51, rue des Mathématiques      Fax: +33476631263
BP53 38041 Grenoble Cedex 9  
      <http://ljk.imag.fr/membres/Christophe.Prudhomme/>     



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