]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
MSVC: Remove unnecessary warning option
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 26 Mar 2026 08:10:42 +0000 (09:10 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 26 Mar 2026 08:10:42 +0000 (09:10 +0100)
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

index eb8d0c947120a6c430ddec8d5ba51ccfa3e41e25..7a140a394c8268d59a0c3bed68786b8b572406f1 100644 (file)
@@ -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',