From 0ec026a8f0514980e8b0e938841aef0e5b5530e2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 21 Oct 2023 09:49:53 -0400 Subject: Suppress warnings in clang 16 --- meson/suppressions/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 6af12eb..270e64e 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -14,10 +14,12 @@ if cc.get_id() == 'clang' if warning_level == 'everything' c_suppressions += [ '-Wno-bad-function-cast', + '-Wno-cast-function-type-strict', '-Wno-declaration-after-statement', '-Wno-padded', '-Wno-switch-default', '-Wno-switch-enum', + '-Wno-unsafe-buffer-usage', ] if not meson.is_cross_build() @@ -115,9 +117,11 @@ if is_variable('cpp') if warning_level == 'everything' cpp_suppressions += [ '-Wno-c++98-compat-pedantic', + '-Wno-cast-function-type-strict', '-Wno-inline', '-Wno-padded', '-Wno-sign-conversion', + '-Wno-unsafe-buffer-usage', ] if not meson.is_cross_build() -- cgit v1.2.1