[eigen] Re: PacketMath.h compiler error, GCC4.9 on Ubuntu 15.04

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


Hello again,

I have been able to definitively track the first occurrence of the compiler error to this commit: https://bitbucket.org/tbs1980/eigen-numerical-integration-module/commits/96cdf0c63790648a5e13289c03322c0de6d9ac33

I'm not quite sure what to do about it yet, but will do a bit more digging.

Thanks!

Respectfully,
Mark Sauder

On Fri, Oct 9, 2015 at 11:01 AM, Mark Sauder <mcsauder@xxxxxxxxx> wrote:
Hi Everyone,

I was curious if anyone else was seeing compiler errors like the following in the past few days: 

/usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:584:42: error: cannot convert ‘Eigen::internal::unpacket_traits<__vector(2) long long int>::type {aka __vector(2) long long int}’ to ‘int’ in return
   return pfirst(_mm_hadd_epi32(tmp0,tmp0));

/usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h: In function ‘typename Eigen::internal::unpacket_traits<T>::type Eigen::internal::predux(const Packet&) [with Packet = Eigen::internal::eigen_packet_wrapper<__vector(2) long long int>; typename Eigen::internal::unpacket_traits<T>::type = int]’:
/usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:584:42: error: cannot convert ‘Eigen::internal::unpacket_traits<__vector(2) long long int>::type {aka __vector(2) long long int}’ to ‘int’ in return
   return pfirst(_mm_hadd_epi32(tmp0,tmp0));

/usr/include/eigen3/Eigen/src/Core/arch/SSE/PacketMath.h:584:42:   required from here
/usr/include/eigen3/Eigen/src/Core/GenericPacketMath.h:299:13: error: ‘typename Eigen::internal::unpacket_traits<T>::type Eigen::internal::pfirst(const Packet&) [with Packet = __vector(2) long long int; typename Eigen::internal::unpacket_traits<T>::type = __vector(2) long long int]’ conflicts with a previous declaration
 { return a; }

It looks like it might track from this commit but I need to do a little more testing to nail that down with certainty.

Anyway, just wanted to ask if anyone was having that same trouble.

Thanks for all of the work that is going on in Eigen right now, it certainly is an amazing library. (Long live Eigen! :) )

Respectfully,
Mark
Sauder



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