From 270beefdf3f27d9f8fb9233b1904b48909cfb8b7 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 3 Mar 2023 11:43:42 +0000 Subject: [PATCH] meson: drop no_override_init_args No longer needed Signed-off-by: Emil Velikov --- meson.build | 7 ------- src/meson.build | 4 ---- 2 files changed, 11 deletions(-) diff --git a/meson.build b/meson.build index 4a7d14a6..9f7feb35 100644 --- a/meson.build +++ b/meson.build @@ -151,13 +151,6 @@ foreach a : ['non-virtual-dtor', 'missing-field-initializers', 'format-truncatio endif endforeach -no_override_init_args = [] -foreach a : ['override-init', 'initializer-overrides'] - if cc.has_argument('-W' + a) - no_override_init_args += '-Wno-' + a - endif -endforeach - foreach a : pre_args add_project_arguments(a, language : ['c', 'cpp']) endforeach diff --git a/src/meson.build b/src/meson.build index 6c47dfa0..5bcf98d7 100644 --- a/src/meson.build +++ b/src/meson.build @@ -165,7 +165,6 @@ mangohud_static_lib = static_library( overlay_spv, c_args : [ pre_args, - no_override_init_args, vulkan_wsi_args ], cpp_args : [ @@ -207,7 +206,6 @@ if is_unixy ), c_args : [ pre_args, - no_override_init_args, ], cpp_args : [ pre_args, @@ -232,7 +230,6 @@ if sizeof_ptr != 4 or get_option('mangoapp_32bit') ), c_args : [ pre_args, - no_override_init_args, vulkan_wsi_args ], cpp_args : [ @@ -276,7 +273,6 @@ if get_option('mangoapp_layer') ), c_args : [ pre_args, - no_override_init_args, ], cpp_args : [ pre_args,