aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2025-02-13 20:29:21 +0300
committermikhnenko <mikhnenko@yandex-team.com>2025-02-13 20:50:06 +0300
commit02fddc7716b6b6c22b771ed75f40109eb673ad0d (patch)
tree9377aa35c1c12dbc8926c94a27dacc7fbfbf4f73
parentd409ca87337a6863040a623686b8ed4c7f96cf10 (diff)
downloadydb-02fddc7716b6b6c22b771ed75f40109eb673ad0d.tar.gz
Move new win warnings to other win warnings
commit_hash:ef5c32433ce0935c8533f48b895314bdd60bcb0d
-rwxr-xr-xbuild/ymake_conf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/ymake_conf.py b/build/ymake_conf.py
index 1c5dbfa7f9..84390dd85f 100755
--- a/build/ymake_conf.py
+++ b/build/ymake_conf.py
@@ -2016,10 +2016,6 @@ class MSVCCompiler(MSVC, Compiler):
# for msvc compatibility
# https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions
# '-fdelayed-template-parsing',
- '-Wno-deprecated-this-capture',
- '-Wno-c++11-narrowing-const-reference',
- '-Wno-vla-cxx-extension', # https://github.com/llvm/llvm-project/issues/62836
- '-Wno-invalid-offsetof',
]
if target.is_x86:
flags.append('-m32')
@@ -2040,12 +2036,16 @@ class MSVCCompiler(MSVC, Compiler):
# Issue a warning if certain overload is hidden due to inheritance
'-Woverloaded-virtual',
'-Wno-ambiguous-reversed-operator',
+ '-Wno-c++11-narrowing-const-reference',
'-Wno-defaulted-function-deleted',
'-Wno-deprecated-anon-enum-enum-conversion',
'-Wno-deprecated-enum-enum-conversion',
'-Wno-deprecated-enum-float-conversion',
+ '-Wno-deprecated-this-capture',
'-Wno-deprecated-volatile',
+ '-Wno-invalid-offsetof',
'-Wno-undefined-var-template',
+ '-Wno-vla-cxx-extension', # https://github.com/llvm/llvm-project/issues/62836
]
defines.append('/D_WIN32_WINNT={0}'.format(WINDOWS_VERSION_MIN))