diff options
-rw-r--r-- | meson/suppressions/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index d0593f2..722b754 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -79,7 +79,6 @@ if is_variable('cc') elif cc.get_id() == 'msvc' c_suppressions += [ '/wd4061', # enumerator in switch is not explicitly handled - '/wd4090', # different const qualifiers '/wd4191', # unsafe conversion from FARPROC '/wd4244', # conversion from floating point, possible loss of data '/wd4267', # conversion from size_t, possible loss of data @@ -96,6 +95,12 @@ if is_variable('cc') ] endif + else + if cc.get_id() == 'msvc' + c_suppressions += [ + '/wd4090', # different const qualifiers + ] + endif endif c_suppressions = cc.get_supported_arguments(c_suppressions) |