aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-12-14 12:41:42 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-12-14 14:06:01 +0300
commite8d09257916b3fbbf210bbe85d20f56a85ea05a5 (patch)
tree3ce20580a7ac5ac30490f5d41d82e8693e466993
parent2ec4b09046a0cdae37cc8591a3b80ff213e3440a (diff)
downloadydb-e8d09257916b3fbbf210bbe85d20f56a85ea05a5.tar.gz
Switch windows builds to clang16
-rw-r--r--build/conf/compilers/msvc_compiler.conf5
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=
}
}