fail to compile for 64bit QNX X86 target
Submitted by Hui Zhang
Assigned to Nobody
Link to original bugzilla bug (#1605)
Version: 3.3 (current stable)
Operating system: Other UNIX-like
Description
Eigen 3.3.5 and all past versions can not be cross compiled for 64bit QNX X86 target.But can be compiled for 32bit QNX X86 target.
The error is as below,
/home/richard/sambashare/Eigen/src/Core/arch/SSE/PacketMath.h:198:41: error: template-id 'paddEigen::internal::Packet4f' for 'Eigen::internal::Packet4f Eigen::internal::padd(const Packet4f&, const Packet4f&)' does not match any template declaration
template<> EIGEN_STRONG_INLINE Packet4f padd<Packet4f>(const Packet4f& a, const Packet4f& b) { return _mm_add_ps(a,b); }
^
/home/richard/sambashare/Eigen/src/Core/arch/SSE/PacketMath.h:403:50: required from here
/home/richard/sambashare/Eigen/src/Core/GenericPacketMath.h:286:9: error: cannot convert 'const __vector(4) float' to 'float' in assignment
{ (*to) = from; }
My program is as below,
#include <Eigen/Dense>
int main(int argc, char **argv) {
return 0;
}
The more detailed info is as below link,
https://forum.kde.org/viewtopic.php?f=74&t=154098&p=404315#p404315