mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +08:00
Don't turn on const expressions when compiling with gcc >= 4.8 unless the -std=c++11 option has been used
This commit is contained in:
parent
c07404f6a1
commit
46bcb70969
@ -375,7 +375,7 @@
|
||||
#define EIGEN_HAS_CONSTEXPR 1
|
||||
#endif
|
||||
#elif __has_feature(cxx_relaxed_constexpr) || (defined(__cplusplus) && __cplusplus >= 201402L) || \
|
||||
EIGEN_GNUC_AT_LEAST(4,8)
|
||||
(EIGEN_GNUC_AT_LEAST(4,8) && (__cplusplus > 199711L))
|
||||
#define EIGEN_HAS_CONSTEXPR 1
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user