mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-16 01:51:51 +08:00
Guard GCC-specific pragmas with "#ifdef EIGEN_COMP_GNUC"
(cherry picked from commit 5ceed0d57f14b0d9d62b8732f7f686b3aae56738)
This commit is contained in:
parent
28cd280726
commit
3fbb1c1b48
@ -35,7 +35,7 @@
|
||||
#ifndef EIGEN_INVERSE_SIZE_4_H
|
||||
#define EIGEN_INVERSE_SIZE_4_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
|
||||
@ -356,7 +356,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