diff options
author | 2016-12-15 11:58:31 +0100 | |
---|---|---|
committer | 2016-12-15 11:58:31 +0100 | |
commit | 5d00fdf0e861a85bd6d6038ab7736d2d70807aef (patch) | |
tree | e593a89f74a889c0956a41dfcc92a52fcbc4de95 | |
parent | 2c2e2184716928b13f3c6f959c37c0deaf31e2dd (diff) |
bug #1363: fix mingw's ABI issue
-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 80cf8af09..3832de147 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 && (__GXX_ABI_VERSION < 1004) +#if (defined EIGEN_VECTORIZE_AVX) && (EIGEN_COMP_GNUC_STRICT || EIGEN_COMP_MINGW) && (__GXX_ABI_VERSION < 1004) // 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). |