aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/Polynomials
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-28 11:44:15 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2018-08-28 11:44:15 +0200
commit42f3ee4fb878b3e16a8cbc99ec90ed330f59899c (patch)
tree938b1895c08d1ab1185fd8e5d7a6a657e7a765ef /unsupported/Eigen/Polynomials
parent050bcf61261d5b3bcc86b2c5afc7e35d3fd16ff7 (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/Eigen/Polynomials')
-rw-r--r--unsupported/Eigen/Polynomials4
1 files changed, 2 insertions, 2 deletions
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