aboutsummaryrefslogtreecommitdiffstats
path: root/meson/suppressions/meson.build
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-10-21 09:49:53 -0400
committerDavid Robillard <d@drobilla.net>2023-10-21 09:49:53 -0400
commit0ec026a8f0514980e8b0e938841aef0e5b5530e2 (patch)
tree5bfe04ed9bcbfc8f62a3b98efe9afab119e18b2f /meson/suppressions/meson.build
parentd66471c82401b386f21a4d182266f6e2df552bee (diff)
downloadpugl-0ec026a8f0514980e8b0e938841aef0e5b5530e2.tar.gz
pugl-0ec026a8f0514980e8b0e938841aef0e5b5530e2.tar.bz2
pugl-0ec026a8f0514980e8b0e938841aef0e5b5530e2.zip
Suppress warnings in clang 16
Diffstat (limited to 'meson/suppressions/meson.build')
-rw-r--r--meson/suppressions/meson.build4
1 files changed, 4 insertions, 0 deletions
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()