From: David Wells Date: Mon, 14 Aug 2017 17:03:23 +0000 (-0400) Subject: 8.5.1 only: remove fallthrough warnings. X-Git-Tag: v8.5.1~2^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3ef28b7ff16e1d8b60f55422583b759c8dcdedf;p=dealii.git 8.5.1 only: remove fallthrough warnings. --- 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