[gtkmm/gtkmm-3-24] meson.build: Clean up MSVC build flags



commit 78da667bfc69fe0b6abba944ec5e057b7e9c573e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Tue May 11 18:13:33 2021 +0800

    meson.build: Clean up MSVC build flags
    
    Like the last NMake Makefiles commit, drop the ignores for warnings C4251,
    C4273 and C4275 as the code is now free of items that trigger those warnings.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index ade802d9..34445cb5 100644
--- a/meson.build
+++ b/meson.build
@@ -335,7 +335,7 @@ gui_app_ldflags = []
 #       otherwise the program will fail to link unless we defined a WinMain()
 #       for them
 if is_msvc
-  foreach wd : ['/FImsvc_recommended_pragmas.h', '/wd4267', '/wd4530', '/wd4250', '/wd4251', '/wd4273', 
'/wd4275', '/wd4805']
+  foreach wd : ['/FImsvc_recommended_pragmas.h', '/wd4267', '/EHsc', '/wd4250', '/wd4805']
     disabled_warning = cpp_compiler.get_supported_arguments(wd)
     add_project_arguments(disabled_warning, language: 'cpp')
   endforeach


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