diff options
author | David Robillard <d@drobilla.net> | 2023-02-04 22:13:00 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-02-04 22:13:00 -0500 |
commit | bcb46050ea9c966e575b0bb333af176995b40b2e (patch) | |
tree | 922fb7a68513ee99efaf23838a4713d74798b34e /meson/suppressions/meson.build | |
parent | 58418e5be2a491faa44d6d1c8d57052b1444814a (diff) | |
download | sratom-bcb46050ea9c966e575b0bb333af176995b40b2e.tar.gz sratom-bcb46050ea9c966e575b0bb333af176995b40b2e.tar.bz2 sratom-bcb46050ea9c966e575b0bb333af176995b40b2e.zip |
Fix clang and clang-tidy warnings on Windows
Diffstat (limited to 'meson/suppressions/meson.build')
-rw-r--r-- | meson/suppressions/meson.build | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index afbfbef..470c761 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -32,6 +32,13 @@ if is_variable('cc') '-Wno-sign-conversion', ] + if host_machine.system() == 'windows' + c_suppressions += [ + '-Wno-deprecated-declarations', + '-Wno-format-nonliteral', + ] + endif + elif cc.get_id() == 'gcc' c_suppressions += [ '-Wno-cast-align', |