Eigen 3.3.3 does not compile on Windows with __ARM_NEON__ defined
Submitted by Ryan Tremblay
Assigned to Nobody
Link to original bugzilla bug (#1428)
Version: 3.3 (current stable)
Operating system: Windows
Description
When Eigen is used on Windows with ARM_NEON defined, the following compilation error is produced:
eigen\src/Core/arch/NEON/PacketMath.h(109): error C2766: explicit specialization; 'Eigen::internal::unpacket_traitsEigen::internal::Packet4f' has already been defined
Packet4f and Packet4i are defined (in PacketMath.h) as:
typedef float32x4_t Packet4f;
typedef int32x4_t Packet4i;
And float32x4_t and int32x4_t are defined (in MSVC's arm_neon.h) as:
typedef __n128 float32x4_t;
typedef __n128 int32x4_t;
Presumably the preprocessor checks need to be updated to handle this case specifically for MSVC.