Skip to content

Commit 02fddc7

Browse files
committed
Move new win warnings to other win warnings
commit_hash:ef5c32433ce0935c8533f48b895314bdd60bcb0d
1 parent d409ca8 commit 02fddc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/ymake_conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2016,10 +2016,6 @@ def print_compiler(self):
20162016
# for msvc compatibility
20172017
# https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions
20182018
# '-fdelayed-template-parsing',
2019-
'-Wno-deprecated-this-capture',
2020-
'-Wno-c++11-narrowing-const-reference',
2021-
'-Wno-vla-cxx-extension', # https://github.com/llvm/llvm-project/issues/62836
2022-
'-Wno-invalid-offsetof',
20232019
]
20242020
if target.is_x86:
20252021
flags.append('-m32')
@@ -2040,12 +2036,16 @@ def print_compiler(self):
20402036
# Issue a warning if certain overload is hidden due to inheritance
20412037
'-Woverloaded-virtual',
20422038
'-Wno-ambiguous-reversed-operator',
2039+
'-Wno-c++11-narrowing-const-reference',
20432040
'-Wno-defaulted-function-deleted',
20442041
'-Wno-deprecated-anon-enum-enum-conversion',
20452042
'-Wno-deprecated-enum-enum-conversion',
20462043
'-Wno-deprecated-enum-float-conversion',
2044+
'-Wno-deprecated-this-capture',
20472045
'-Wno-deprecated-volatile',
2046+
'-Wno-invalid-offsetof',
20482047
'-Wno-undefined-var-template',
2048+
'-Wno-vla-cxx-extension', # https://github.com/llvm/llvm-project/issues/62836
20492049
]
20502050

20512051
defines.append('/D_WIN32_WINNT={0}'.format(WINDOWS_VERSION_MIN))

0 commit comments

Comments
 (0)