From 7fd70401a16957ff9f5c9aac401a959c2f6b29e6 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 2 Mar 2020 15:33:03 +0800 Subject: 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(-) (limited to 'meson.build') 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 -- cgit v1.2.1