summaryrefslogtreecommitdiffhomepage
path: root/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/Eigen/src/Core/util/ReenableStupidWarnings.h')
-rw-r--r--eigen/Eigen/src/Core/util/ReenableStupidWarnings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h b/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h
index 86b60f5..ecc82b7 100644
--- a/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h
+++ b/eigen/Eigen/src/Core/util/ReenableStupidWarnings.h
@@ -8,7 +8,7 @@
#pragma warning pop
#elif defined __clang__
#pragma clang diagnostic pop
- #elif defined __GNUC__ && __GNUC__>=6
+ #elif defined __GNUC__ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6))
#pragma GCC diagnostic pop
#endif