From: Wolfgang Bangerth Date: Thu, 20 Aug 2015 20:18:54 +0000 (-0500) Subject: Fix FPE #include. X-Git-Tag: v8.4.0-rc2~577^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1402%2Fhead;p=dealii.git Fix FPE #include. We only need the #include if we actually use the functions the file provides. Disable it otherwise to ensure that the tests continue to run on platforms that don't provide . --- diff --git a/tests/tests.h b/tests/tests.h index 2d8cfbaa92..dbc8ab0575 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -32,7 +32,9 @@ #include #include -#include +#if defined(DEBUG) && defined(DEAL_II_HAVE_FP_EXCEPTIONS) +# include +#endif // silence extra diagnostics in the testsuite