mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Guard GCC-specific pragmas with "#ifdef EIGEN_COMP_GNUC"
This commit is contained in:
parent
528b68674c
commit
5ceed0d57f
@ -37,7 +37,7 @@
|
||||
|
||||
#include "../InternalHeaderCheck.h"
|
||||
|
||||
#ifdef EIGEN_COMP_GNUC
|
||||
#if !EIGEN_COMP_LLVM
|
||||
// These routines requires bit manipulation of the sign, which is not compatible
|
||||
// with fastmath.
|
||||
#pragma GCC push_options
|
||||
@ -358,7 +358,7 @@ struct compute_inverse_size4<Architecture::Target, double, MatrixType, ResultTyp
|
||||
} // namespace internal
|
||||
} // namespace Eigen
|
||||
|
||||
#ifdef EIGEN_COMP_GNUC
|
||||
#if !EIGEN_COMP_LLVM
|
||||
#pragma GCC pop_options
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user