]> https://gitweb.dealii.org/ - dealii.git/commitdiff
8.5.1 only: remove fallthrough warnings. 4840/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 14 Aug 2017 17:03:23 +0000 (13:03 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 14 Aug 2017 17:03:23 +0000 (13:03 -0400)
cmake/setup_compiler_flags_gnu.cmake

index a00de57d936d33377beb42c9a2abc21de1053e04..8dd2f6fd7b1574442e61089cb1f0418e843a47dd 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.