aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlurid <lurid@yandex-team.com>2023-04-26 17:39:01 +0300
committerlurid <lurid@yandex-team.com>2023-04-26 17:39:01 +0300
commitdee65fd89aa3947a0c95fe28b906b1381056ccf8 (patch)
tree88b66fe78d1713de2eef8410ec0842e4aaa8bc94
parentbf749f3ac3722adebe8244692adfc2d8d07208c5 (diff)
downloadydb-dee65fd89aa3947a0c95fe28b906b1381056ccf8.tar.gz
Fix ydb -Wunused-but-set-variable
-rw-r--r--ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.darwin-x86_64.txt1
-rw-r--r--ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-aarch64.txt1
-rw-r--r--ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-x86_64.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.darwin-x86_64.txt b/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.darwin-x86_64.txt
index 372bffd400..7a2a187881 100644
--- a/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.darwin-x86_64.txt
+++ b/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.darwin-x86_64.txt
@@ -56,6 +56,7 @@ target_compile_options(clickhouse_client_udf.global PRIVATE
-DDBMS_VERSION_PATCH=0
-Wno-unused-parameter
-DUSE_CURRENT_UDF_ABI_VERSION
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(clickhouse_client_udf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-aarch64.txt b/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-aarch64.txt
index 02e52bee7c..a08bd43c85 100644
--- a/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-aarch64.txt
+++ b/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-aarch64.txt
@@ -57,6 +57,7 @@ target_compile_options(clickhouse_client_udf.global PRIVATE
-DDBMS_VERSION_PATCH=0
-Wno-unused-parameter
-DUSE_CURRENT_UDF_ABI_VERSION
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(clickhouse_client_udf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-x86_64.txt b/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-x86_64.txt
index 02e52bee7c..a08bd43c85 100644
--- a/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-x86_64.txt
+++ b/ydb/library/yql/udfs/common/clickhouse/client/CMakeLists.linux-x86_64.txt
@@ -57,6 +57,7 @@ target_compile_options(clickhouse_client_udf.global PRIVATE
-DDBMS_VERSION_PATCH=0
-Wno-unused-parameter
-DUSE_CURRENT_UDF_ABI_VERSION
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(clickhouse_client_udf.global PUBLIC
${CMAKE_SOURCE_DIR}/contrib/restricted/dragonbox