]> https://gitweb.dealii.org/ - dealii.git/commitdiff
enable -Wmissing-braces if supported
authorTimo Heister <timo.heister@gmail.com>
Thu, 23 Jul 2020 13:54:54 +0000 (09:54 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 23 Jul 2020 13:54:54 +0000 (09:54 -0400)
follow-up to #10743

cmake/setup_compiler_flags_gnu.cmake

index f53eaeb9ff0cc586fceca1cca19ddc5221d9cc39..3852b813b98196670c5d0a2af3606e362a40e24d 100644 (file)
@@ -83,6 +83,7 @@ ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wsuggest-override")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wswitch")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wsynth")
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wwrite-strings")
+ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-Wmissing-braces")
 
 #
 # Disable Wplacement-new that will trigger a lot of warnings

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.