diff options
author | David Robillard <d@drobilla.net> | 2022-10-26 21:49:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-10-26 21:49:40 -0400 |
commit | 5e1a2010cdc266ade0f6b8048d333978b9884e7b (patch) | |
tree | 0dd4da4465458766d3311543ed0563e8eefbe7c6 /meson.build | |
parent | 888e98481897824bec9f310a04b5ecec055189f2 (diff) | |
download | zix-5e1a2010cdc266ade0f6b8048d333978b9884e7b.tar.gz zix-5e1a2010cdc266ade0f6b8048d333978b9884e7b.tar.bz2 zix-5e1a2010cdc266ade0f6b8048d333978b9884e7b.zip |
Suppress test warnings in strict builds as a subproject
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 540537d..9762339 100644 --- a/meson.build +++ b/meson.build @@ -471,9 +471,18 @@ if not get_option('tests').disabled() cpp_test_args = [] if cpp.get_id() == 'clang' - cpp_test_args = ['-Wall'] + cpp_test_args = [ + '-Wall', + '-Wno-nullability-extension', + '-Wno-padded', + '-Wno-zero-as-null-pointer-constant', + ] elif cpp.get_id() == 'gcc' - cpp_test_args = ['-Wall'] + cpp_test_args = [ + '-Wall', + '-Wno-padded', + '-Wno-unused-const-variable', + ] elif cpp.get_id() == 'msvc' cpp_test_args = ['/W3'] endif |