[glibmm/kjellahl/meson-build-2-62] meson.build: Ignore warning C4146



commit 912a9d3d858aa09b7e6d8950b8cc6f42e87601b5
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Mar 5 17:08:05 2020 +0800

    meson.build: Ignore warning C4146
    
    Warning C4146 is often part-of-life when building items on Visual
    Studio, and since we are sure about the things we want to check for,
    we can ignore this too.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 4643238f..366e26e0 100644
--- a/meson.build
+++ b/meson.build
@@ -189,7 +189,7 @@ add_project_arguments(warning_flags, language: 'cpp')
 #       that should not be overlooked stand out.
 if is_msvc
   disabled_warnings = cpp_compiler.get_supported_arguments([
-    '/FImsvc_recommended_pragmas.h', '/wd4267', '/wd4530', '/wd4589'
+    '/FImsvc_recommended_pragmas.h', '/wd4146', '/wd4267', '/wd4530', '/wd4589'
   ])
   add_project_arguments(disabled_warnings, language: 'cpp')
 endif


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