From e3ef28b7ff16e1d8b60f55422583b759c8dcdedf Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 14 Aug 2017 13:03:23 -0400 Subject: [PATCH] 8.5.1 only: remove fallthrough warnings. --- cmake/setup_compiler_flags_gnu.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index a00de57d93..8dd2f6fd7b 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -72,6 +72,11 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Woverloaded-virtual") # ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-long-long") +# +# Disable fallthrough warnings on GCC7: +# +ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wno-implicit-fallthrough") + # # Disable Wplacement-new that will trigger a lot of warnings # in the BOOST function classes that we include via the -- 2.39.5