diff --git a/meson.build b/meson.build index 638bbf5f..cc94bbde 100644 --- a/meson.build +++ b/meson.build @@ -1012,8 +1012,14 @@ if cc.get_id() == 'msvc' ] else compile_warnings += [ + # These warnings are intentionally disabled: + # - missing field initializers being implicitly 0 is a feature, + # not a bug + # - -Wunused-parameter is annoying when writing callbacks that follow + # a fixed signature but do not necessarily need all of its parameters '-Wno-missing-field-initializers', '-Wno-unused-parameter', + '-Wchar-subscripts', '-Wfloat-equal', ]