[glibmm/kjellahl/meson-build-master] meson.build: Disable warning C4589 on Visual Studio



commit 7fd70401a16957ff9f5c9aac401a959c2f6b29e6
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Mar 2 15:33:03 2020 +0800

    meson.build: Disable warning C4589 on Visual Studio
    
    This warning can be ignored as well.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e0f78dd3..80d7dd5e 100644
--- a/meson.build
+++ b/meson.build
@@ -194,7 +194,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'
+    '/FImsvc_recommended_pragmas.h', '/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]