MSVC: Remove unnecessary warning option

The MSVC warning option /w24777 added by commit 2307cfe316 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.
This commit is contained in:
Peter Eisentraut 2026-03-26 09:10:42 +01:00
parent f8e7ca3285
commit 515b0dc4bc

View 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',