diff options
author | 2018-10-01 23:45:55 +0200 | |
---|---|---|
committer | 2018-10-01 23:45:55 +0200 | |
commit | de2efbc43c675c3d007d3620a41dfd7747ae4e0f (patch) | |
tree | ae411032014090ef9ac3908b5037a4029bd14588 /Eigen | |
parent | 564ca71e392f580144a7ded4ac9e3700c848495e (diff) |
bug #1605: workaround ABI issue with vector types (aka __m128) versus scalar types (aka float)
Diffstat (limited to 'Eigen')
-rwxr-xr-x | Eigen/src/Core/arch/SSE/PacketMath.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/arch/SSE/PacketMath.h b/Eigen/src/Core/arch/SSE/PacketMath.h index 2e815c0c5..99d55d5e9 100755 --- a/Eigen/src/Core/arch/SSE/PacketMath.h +++ b/Eigen/src/Core/arch/SSE/PacketMath.h @@ -28,7 +28,7 @@ namespace internal { #endif #endif -#if (defined EIGEN_VECTORIZE_AVX) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_MINGW) && (__GXX_ABI_VERSION < 1004) +#if ((defined EIGEN_VECTORIZE_AVX) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_MINGW) && (__GXX_ABI_VERSION < 1004)) || EIGEN_OS_QNX // With GCC's default ABI version, a __m128 or __m256 are the same types and therefore we cannot // have overloads for both types without linking error. // One solution is to increase ABI version using -fabi-version=4 (or greater). |