summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-05-23 15:39:37 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-05-23 15:39:37 +0800
commit5ac66324ae69913b490825572ac4a8a5369cb756 (patch)
treea0b1326580e6b5016685040a0cc558d184e3a917
parent364955d423c9d02b0d35145e87824ddbe6e51fa1 (diff)
downloadglibmm-5ac66324ae69913b490825572ac4a8a5369cb756.tar.gz
Meson/MSVC: Add more warnings to ignore
We can actually silence more warnings here, since the issues that they cover can normally be fished out by the unit tests.
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index f3f4d730..b9cc840e 100644
--- a/meson.build
+++ b/meson.build
@@ -238,6 +238,9 @@ if is_msvc
# dangerous ones glaring, distributed with GLib
'/utf-8', # Avoid C4819 unicode conversion warnings when building on CJK locales
'/wd4146', # unary minus operator applied to unsigned type, result still unsigned
+ '/wd4589', # Constructor of abstract class 'bb' ignores
+ # initializer for virtual base class 'aa'
+ '/wd4702', # unreachable code
]
if host_machine.cpu_family() == 'x86_64' or host_machine.cpu_family() == 'aarch64'
# 'var' : conversion from 'size_t' to 'type', possible loss of data (applies on 64-bit builds)