From 515b0dc4bc74b43793ccf82965b7aaa79ad7161b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 26 Mar 2026 09:10:42 +0100 Subject: [PATCH] MSVC: Remove unnecessary warning option The MSVC warning option /w24777 added by commit 2307cfe3162 was a typo, it should have been /w24477. But this option is already enabled by default in level 1, so we don't need to add it explicitly. So just remove it. --- meson.build | 1 - 1 file changed, 1 deletion(-) diff --git a/meson.build b/meson.build index eb8d0c94712..7a140a394c8 100644 --- a/meson.build +++ b/meson.build @@ -2307,7 +2307,6 @@ if cc.get_id() == 'msvc' # Additional warnings to enable: '/w24062', # enumerator 'identifier' in switch of enum 'enumeration' is not handled [like -Wswitch] '/w24102', # unreferenced label [like -Wunused-label] - '/w24777', # 'function' : format string 'string' requires an argument of type 'type1', but variadic argument number has type 'type2' [like -Wformat] # Disable warnings in system headers '/external:anglebrackets',