From 99b7f7cb9c864e6cd73e0deb0f053e15f5a95616 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Sun, 31 May 2020 00:39:44 +0200 Subject: Fix #556: warnings with mingw --- Eigen/Core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/Core b/Eigen/Core index eafaea4f2..10b0bd839 100644 --- a/Eigen/Core +++ b/Eigen/Core @@ -36,7 +36,7 @@ // Disable the ipa-cp-clone optimization flag with MinGW 6.x or newer (enabled by default with -O3) // See http://eigen.tuxfamily.org/bz/show_bug.cgi?id=556 for details. -#if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6) +#if EIGEN_COMP_MINGW && EIGEN_GNUC_AT_LEAST(4,6) && EIGEN_GNUC_AT_MOST(5,5) #pragma GCC optimize ("-fno-ipa-cp-clone") #endif -- cgit v1.2.3