mirror of
https://github.com/postgres/postgres.git
synced 2026-03-28 21:33:14 -04:00
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:
parent
f8e7ca3285
commit
515b0dc4bc
1 changed files with 0 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue