summaryrefslogtreecommitdiff
path: root/meson.build
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 16:09:16 +0800
commitfb915e41b9ba2fee52b9b85384a0061a75ba3bdd (patch)
treeb1bfe2f6805f364d295ac4bc47b6e52c59c561cd /meson.build
parent59592487a21d3d2aee89376bb90c3ea4388052a4 (diff)
downloadglibmm-fb915e41b9ba2fee52b9b85384a0061a75ba3bdd.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.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index cf632f0c..46b72be0 100644
--- a/meson.build
+++ b/meson.build
@@ -238,6 +238,9 @@ if is_msvc
# dangerous ones glaring, distributed with GLib
'/EHsc', # avoid warnings caused by exception handling model used
'/utf-8', # Avoid C4819 unicode conversion warnings when building on CJK locales
+ '/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)