From 77dcd1f2b536a44e43d265b0b278e7e3b42d5cbf Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 23 Jul 2020 09:54:54 -0400 Subject: [PATCH] enable -Wmissing-braces if supported follow-up to #10743 --- cmake/setup_compiler_flags_gnu.cmake | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5