[glibmm/glibmm-2-66] Meson/MSVC: Add more warnings to ignore



commit 5ac66324ae69913b490825572ac4a8a5369cb756
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon May 23 15:39:37 2022 +0800

    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.

 meson.build | 3 +++
 1 file changed, 3 insertions(+)
---
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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]