diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-07-19 18:47:18 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-07-19 18:47:18 +0200 |
commit | 2ca25920090724f2547989a96f7449db17cf3315 (patch) | |
tree | ae66e7a9855ac7c7fdde06f02c8e2e8fdec88995 /Eigen/src/Core/util | |
parent | 5e5987996f4a5e9cfda7122c5a0ee09cf4d3874b (diff) |
Fix determination of EIGEN_HAS_TYPE_TRAITS
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 985406953..ac3805732 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -542,7 +542,7 @@ // Does the compiler support type_traits? #ifndef EIGEN_HAS_TYPE_TRAITS #if EIGEN_MAX_CPP_VER>=11 && (EIGEN_HAS_CXX11 || EIGEN_COMP_MSVC >= 1700) \ - && (!EIGEN_COMP_GNUC || EIGEN_GNUC_AT_LEAST(5, 1)) + && ((!EIGEN_COMP_GNUC_STRICT) || EIGEN_GNUC_AT_LEAST(5, 1)) // ^^ Full support of type traits was added only to GCC 5.1.0. #define EIGEN_HAS_TYPE_TRAITS 1 #define EIGEN_INCLUDE_TYPE_TRAITS |