mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +08:00
Recent xcode versions does support EIGEN_HAS_STATIC_ARRAY_TEMPLATE
This commit is contained in:
parent
f62a0f69c6
commit
a368848473
@ -487,7 +487,9 @@
|
|||||||
|
|
||||||
// Some old compilers do not support template specializations like:
|
// Some old compilers do not support template specializations like:
|
||||||
// template<typename T,int N> void foo(const T x[N]);
|
// template<typename T,int N> void foo(const T x[N]);
|
||||||
#if !( EIGEN_COMP_CLANG && ((EIGEN_COMP_CLANG<309) || defined(__apple_build_version__)) || EIGEN_COMP_GNUC_STRICT && EIGEN_COMP_GNUC<49)
|
#if !( EIGEN_COMP_CLANG && ( (EIGEN_COMP_CLANG<309) \
|
||||||
|
|| (defined(__apple_build_version__) && (__apple_build_version__ < 9000000))) \
|
||||||
|
|| EIGEN_COMP_GNUC_STRICT && EIGEN_COMP_GNUC<49)
|
||||||
#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 1
|
#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 1
|
||||||
#else
|
#else
|
||||||
#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 0
|
#define EIGEN_HAS_STATIC_ARRAY_TEMPLATE 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user