diff options
author | David Robillard <d@drobilla.net> | 2024-09-29 19:21:16 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-10-12 11:10:39 -0400 |
commit | b5c4fa663e02fa0a04e7bfa04c86ba5a2206ceec (patch) | |
tree | c35f579f03e47f04e0262006e84bbb967c183f5c /meson/suppressions | |
parent | 190df9bce72a8c7c7c839714205cd090c1b7fb3b (diff) | |
download | jalv-b5c4fa663e02fa0a04e7bfa04c86ba5a2206ceec.tar.gz jalv-b5c4fa663e02fa0a04e7bfa04c86ba5a2206ceec.tar.bz2 jalv-b5c4fa663e02fa0a04e7bfa04c86ba5a2206ceec.zip |
Strengthen clang warnings on non-Darwin
Diffstat (limited to 'meson/suppressions')
-rw-r--r-- | meson/suppressions/meson.build | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 04341bd..d82ce61 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -21,14 +21,12 @@ if is_variable('cc') '-Wno-cast-qual', '-Wno-declaration-after-statement', '-Wno-disabled-macro-expansion', - '-Wno-documentation-unknown-command', # MacOS '-Wno-double-promotion', '-Wno-float-conversion', '-Wno-float-equal', '-Wno-implicit-float-conversion', '-Wno-missing-noreturn', '-Wno-padded', - '-Wno-reserved-id-macro', # MacOS '-Wno-shorten-64-to-32', '-Wno-sign-conversion', '-Wno-switch-default', @@ -40,6 +38,13 @@ if is_variable('cc') '-Wno-poison-system-directories', ] endif + + if host_machine.system() == 'darwin' + c_suppressions += [ + '-Wno-documentation-unknown-command', + '-Wno-reserved-id-macro', + ] + endif endif if warning_level in ['everything', '3'] |