aboutsummaryrefslogtreecommitdiffstats
path: root/meson
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-09-29 19:15:26 -0400
committerDavid Robillard <d@drobilla.net>2024-10-12 11:10:39 -0400
commitacb75fa0dfc17692a8824841161bb508a23bab91 (patch)
tree671879478f4aa1c775276f34299aa2e5fe748e83 /meson
parentd8a734b7bc8a1a7e58ca53782a141c7cb8b42244 (diff)
downloadjalv-acb75fa0dfc17692a8824841161bb508a23bab91.tar.gz
jalv-acb75fa0dfc17692a8824841161bb508a23bab91.tar.bz2
jalv-acb75fa0dfc17692a8824841161bb508a23bab91.zip
Enable unused parameter warnings
These were fixed earlier (and the clang-tidy warning enabled), but the compiler flags were't strengthened.
Diffstat (limited to 'meson')
-rw-r--r--meson/suppressions/meson.build13
1 files changed, 0 insertions, 13 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index bce2c5f..e273a6c 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -51,12 +51,6 @@ if is_variable('cc')
]
endif
- if warning_level in ['everything', '3', '2']
- c_suppressions += [
- '-Wno-unused-parameter',
- ]
- endif
-
if host_machine.system() == 'darwin'
c_suppressions += [
'-Wno-documentation', # JACK
@@ -92,18 +86,11 @@ if is_variable('cc')
]
endif
- if warning_level in ['everything', '3', '2']
- c_suppressions += [
- '-Wno-unused-parameter',
- ]
- endif
-
elif cc.get_id() == 'msvc'
if warning_level == 'everything'
c_suppressions += [
'/wd4061', # enumerator in switch is not explicitly handled
'/wd4090', # different const qualifiers
- '/wd4100', # unreferenced formal parameter
'/wd4191', # unsafe function conversion
'/wd4200', # zero-sized array in struct/union
'/wd4242', # possible loss of data from float conversion