mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-16 17:56:44 +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
|
||||
#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))
|
||||
#else
|
||||
#define EIGEN_FLATTEN_ATTRIB
|
||||
|
Loading…
x
Reference in New Issue
Block a user