Re: [eigen] warnings in gcc 4.7

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


Hi

I am using the version distributed with macport which is 4.7-20120225
and clearly not the latest one.
I will check with a more recent version

Best regards
C.

On Fri, Mar 16, 2012 at 8:12 AM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> Hi,
>
> In my opinion this precise one is a gcc issue, however it seems to
> have been recently fixed. Here this warning disappeared with a recent
> update of gcc 4.7.
> So are you sure you have the very last version of 4.7.0?
>
> cheers,
> gael
>
> On Fri, Mar 16, 2012 at 6:56 AM, Christophe Prud'homme
> <christophe.prudhomme@xxxxxxxxxxxxxxx> wrote:
>> 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/>
>>
>



-- 
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/