From: Timo Heister Date: Thu, 23 Jul 2020 13:54:54 +0000 (-0400) Subject: enable -Wmissing-braces if supported X-Git-Tag: v9.3.0-rc1~1251^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77dcd1f2b536a44e43d265b0b278e7e3b42d5cbf;p=dealii.git enable -Wmissing-braces if supported follow-up to #10743 --- diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index f53eaeb9ff..3852b813b9 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -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