summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-12-02 14:51:27 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 14:52:35 -0500
commit08954c900820320064d2e33445858e1ef5024a0b (patch)
tree2fd9e8ea87c44cbc54f5926370814a105851972a
parent60236967632849b4d8b0b925758e91cfdff23d38 (diff)
downloadzix-08954c900820320064d2e33445858e1ef5024a0b.tar.gz
zix-08954c900820320064d2e33445858e1ef5024a0b.tar.bz2
zix-08954c900820320064d2e33445858e1ef5024a0b.zip
Fix warnings in strict MinGW build
-rw-r--r--test/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/meson.build b/test/meson.build
index 193d898..15f449c 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -27,11 +27,13 @@ endif
# Set warning suppression flags specific to tests
test_suppressions = []
-if cc.get_id() in ['clang', 'emscripten']
- if host_machine.system() == 'windows'
+if host_machine.system() == 'windows'
+ if cc.get_id() in ['clang', 'emscripten']
test_suppressions += [
'-Wno-format-nonliteral',
]
+ elif cc.get_id() == 'gcc'
+ test_suppressions += ['-Wno-format']
endif
endif