diff --git a/m4/compiler_options.m4 b/m4/compiler_options.m4 index 9d0c58814b..bf847bfc91 100644 --- a/m4/compiler_options.m4 +++ b/m4/compiler_options.m4 @@ -124,12 +124,6 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then [int f () { int i = yolo; yolo; return i; }] ) - dnl clang 3.9 would like to see "{ { 0 } }" here, but that does not - dnl look too wise. - NM_COMPILER_WARNING([$1], [missing-braces], - [union { int a[1]; int b[2]; } c = { 0 }] - ) - dnl a new warning in gcc 8, glib 2.55 doesn't play nice yet dnl https://bugzilla.gnome.org/show_bug.cgi?id=793272 NM_COMPILER_WARNING([$1], [cast-function-type], diff --git a/meson.build b/meson.build index 24a3b04efe..735591e587 100644 --- a/meson.build +++ b/meson.build @@ -169,7 +169,6 @@ if nm_debug '-Wno-duplicate-decl-specifier', '-Wno-format-truncation', '-Wno-gnu-variable-sized-type-not-at-end', - '-Wno-missing-braces', '-Wno-missing-field-initializers', '-Wno-pragmas', '-Wno-sign-compare',