diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-28 11:44:15 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-28 11:44:15 +0200 |
commit | 42f3ee4fb878b3e16a8cbc99ec90ed330f59899c (patch) | |
tree | 938b1895c08d1ab1185fd8e5d7a6a657e7a765ef /unsupported | |
parent | 050bcf61261d5b3bcc86b2c5afc7e35d3fd16ff7 (diff) |
Old gcc versions have problems with recursive #pragma GCC diagnostic push/pop
Workaround: Don't include "DisableStupidWarnings.h" before including other main-headers
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/ArpackSupport | 4 | ||||
-rw-r--r-- | unsupported/Eigen/Polynomials | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/unsupported/Eigen/ArpackSupport b/unsupported/Eigen/ArpackSupport index 37a2799ef..a0d4820e1 100644 --- a/unsupported/Eigen/ArpackSupport +++ b/unsupported/Eigen/ArpackSupport @@ -11,8 +11,6 @@ #include <Eigen/Core> -#include <Eigen/src/Core/util/DisableStupidWarnings.h> - /** \defgroup ArpackSupport_Module Arpack support module * * This module provides a wrapper to Arpack, a library for sparse eigenvalue decomposition. @@ -23,6 +21,8 @@ */ #include <Eigen/SparseCholesky> + +#include <Eigen/src/Core/util/DisableStupidWarnings.h> #include "src/Eigenvalues/ArpackSelfAdjointEigenSolver.h" #include <Eigen/src/Core/util/ReenableStupidWarnings.h> diff --git a/unsupported/Eigen/Polynomials b/unsupported/Eigen/Polynomials index cece56337..334b03142 100644 --- a/unsupported/Eigen/Polynomials +++ b/unsupported/Eigen/Polynomials @@ -11,10 +11,10 @@ #include <Eigen/Core> -#include <Eigen/src/Core/util/DisableStupidWarnings.h> - #include <Eigen/Eigenvalues> +#include <Eigen/src/Core/util/DisableStupidWarnings.h> + // Note that EIGEN_HIDE_HEAVY_CODE has to be defined per module #if (defined EIGEN_EXTERN_INSTANTIATIONS) && (EIGEN_EXTERN_INSTANTIATIONS>=2) #ifndef EIGEN_HIDE_HEAVY_CODE |