From 0ee0b9debbe04ad2a114d51afcdd3dbbcf781f6e Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 10 Aug 2017 10:42:47 -0500 Subject: [PATCH] Disable -Wimplicit-fallthrough 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 609e390f8f..5bcd144193 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -300,6 +300,7 @@ _Pragma("GCC diagnostic ignored \"-Wignored-attributes\"") \ _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 warning \"-Wpragmas\"") # define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS \ -- 2.39.5