From fbcc0b3cc068344872d8499b0dba6e5caf6fa1dd Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 10 Aug 2017 11:05:40 -0500 Subject: [PATCH] Disable -Wint-in-bool-context for external includes --- include/deal.II/base/config.h.in | 1 + 1 file changed, 1 insertion(+) diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index 5bcd144193..07c7452b0c 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -301,6 +301,7 @@ _Pragma("GCC diagnostic ignored \"-Wmisleading-indentation\"") \ _Pragma("GCC diagnostic ignored \"-Wundef\"") \ _Pragma("GCC diagnostic ignored \"-Wnon-virtual-dtor\"") \ _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") \ +_Pragma("GCC diagnostic ignored \"-Wint-in-bool-context\"") \ _Pragma("GCC diagnostic warning \"-Wpragmas\"") # define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS \ -- 2.39.5