diff options
author | vadim-xd <vadim-xd@yandex-team.com> | 2024-12-21 20:01:41 +0300 |
---|---|---|
committer | vadim-xd <vadim-xd@yandex-team.com> | 2024-12-21 20:23:30 +0300 |
commit | 1dcb047c0a80fe229f22da4e15d793ee5f1c7b80 (patch) | |
tree | f2aa4a7a944c646977c2ac4ee5ef9d97adc54900 | |
parent | 74dcea6282bb71b306ade23fcba1ca3ad8fca224 (diff) | |
download | ydb-1dcb047c0a80fe229f22da4e15d793ee5f1c7b80.tar.gz |
Restore -Wunused-parameter for most paths
commit_hash:d59e2dec7bdb8366dad609dd7059d6afebdce882
-rw-r--r-- | build/conf/compilers/gnu_compiler.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/conf/compilers/gnu_compiler.conf b/build/conf/compilers/gnu_compiler.conf index 1ffdb6a702c..b803f551e56 100644 --- a/build/conf/compilers/gnu_compiler.conf +++ b/build/conf/compilers/gnu_compiler.conf @@ -75,7 +75,10 @@ when ($CLANG18 == "yes") { CFLAGS+=-Wno-array-parameter -Wno-deprecate-lax-vec-conv-all -Wno-unqualified-std-cast-call -Wno-unused-but-set-parameter -Wno-implicit-function-declaration -Wno-int-conversion -Wno-incompatible-function-pointer-types -Wno-address-of-packed-member CFLAGS+=-Wno-deprecated-this-capture -Wno-c++11-narrowing-const-reference -Wno-missing-designated-field-initializers \ -Wno-packed-non-pod -Wno-format -Wno-vla-cxx-extension -Wno-invalid-offsetof \ - -Wno-include-angled-in-module-purview -Wno-unused-parameter + -Wno-include-angled-in-module-purview + when ($CLANG_TIDY_ARGS || $OPENSOURCE == "yes") { + CFLAGS+=-Wno-unused-parameter + } when ($MAPSMOBI_BUILD_TARGET == "yes") { CFLAGS+=-Wno-deprecated-declarations } |