diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-12-14 12:41:42 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-12-14 14:06:01 +0300 |
commit | e8d09257916b3fbbf210bbe85d20f56a85ea05a5 (patch) | |
tree | 3ce20580a7ac5ac30490f5d41d82e8693e466993 /build | |
parent | 2ec4b09046a0cdae37cc8591a3b80ff213e3440a (diff) | |
download | ydb-e8d09257916b3fbbf210bbe85d20f56a85ea05a5.tar.gz |
Switch windows builds to clang16
Diffstat (limited to 'build')
-rw-r--r-- | build/conf/compilers/msvc_compiler.conf | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/conf/compilers/msvc_compiler.conf b/build/conf/compilers/msvc_compiler.conf index a509b02348..afd649f575 100644 --- a/build/conf/compilers/msvc_compiler.conf +++ b/build/conf/compilers/msvc_compiler.conf @@ -54,15 +54,16 @@ when ($NO_WSHADOW == "yes") { } when ($NO_COMPILER_WARNINGS == "yes") { - C_WARNING_OPTS=/w when ($CLANG_CL == "yes") { # Though /w is intended to switch off all the warnings, # it does not switch at least -Wregister and -Wreserved-user-defined-literal under clang-cl. # # Use -Wno-everything to force warning suppression. - CXX_WARNING_OPTS=-Wno-everything + C_WARNING_OPTS = -Wno-everything + CXX_WARNING_OPTS = } otherwise { + C_WARNING_OPTS=/w CXX_WARNING_OPTS= } } |