From fb331b1016457572b728cedcf28f90c4c6896138 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 20 Aug 2015 15:18:54 -0500 Subject: [PATCH] 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 . --- tests/tests.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5