mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-17 02:06:45 +08:00
__attribute__((flatten)) seems to be recognized by neither clang nor icc despite these compilers defining __GNUC__.
This commit is contained in:
parent
68631e28d4
commit
3884308da7
@ -142,7 +142,7 @@
|
|||||||
#define EIGEN_ALWAYS_INLINE_ATTRIB
|
#define EIGEN_ALWAYS_INLINE_ATTRIB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if EIGEN_GNUC_AT_LEAST(4,1)
|
#if EIGEN_GNUC_AT_LEAST(4,1) && !defined(__clang__) && !defined(__intel_compiler)
|
||||||
#define EIGEN_FLATTEN_ATTRIB __attribute__((flatten))
|
#define EIGEN_FLATTEN_ATTRIB __attribute__((flatten))
|
||||||
#else
|
#else
|
||||||
#define EIGEN_FLATTEN_ATTRIB
|
#define EIGEN_FLATTEN_ATTRIB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user