From 42f3ee4fb878b3e16a8cbc99ec90ed330f59899c Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 28 Aug 2018 11:44:15 +0200 Subject: Old gcc versions have problems with recursive #pragma GCC diagnostic push/pop Workaround: Don't include "DisableStupidWarnings.h" before including other main-headers --- unsupported/Eigen/Polynomials | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/Eigen/Polynomials') 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 -#include - #include +#include + // 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 -- cgit v1.2.3