diff --git a/meson.build b/meson.build index e3adef0..097d623 100644 --- a/meson.build +++ b/meson.build @@ -47,7 +47,7 @@ endif add_global_arguments('-D_GNU_SOURCE', language: 'c') warns = [ 'all', 'extra', 'no-unused-parameter', 'nonnull', 'shadow', - 'implicit-fallthrough', 'no-unknown-warning-option' ] + 'implicit-fallthrough', 'no-unknown-warning-option', 'no-missing-braces' ] foreach w : warns if cc.has_argument('-W'+w) add_global_arguments('-W'+w, language: 'c')