aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-06-09 15:52:05 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-06-09 16:02:13 +0300
commit9d3d6bc09cab4e631a4babeefd81a1d194867658 (patch)
tree64005364053adcbe942633821351a9e200c35947
parent22d59c45d8f17195622bd9e5bfa9259c50b1a732 (diff)
downloadydb-9d3d6bc09cab4e631a4babeefd81a1d194867658.tar.gz
Remove stubs and ignore warning instead
dc14ba869ddf82bf8f20415189292ba0d3d32635
-rw-r--r--build/ymake.core.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index f13ba3a8b7..6354106658 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -3384,6 +3384,7 @@ when ($CLANG == "yes") {
${pre=-Wno-implicit-fallthrough -fno-profile-instr-generate -fno-coverage-mapping SKIP ;ext=.pyx:SRC}
_LANG_CFLAGS_RL=-Wno-implicit-fallthrough -fno-profile-instr-generate -fno-coverage-mapping
_LANG_CFLAGS_SWG=-Wno-deprecated-declarations -fno-profile-instr-generate -fno-coverage-mapping
+ _LANG_CFLAGS_LEX=-Wno-unused-variable -fno-profile-instr-generate -fno-coverage-mapping
}
otherwise {
_LANG_CFLAGS_FILTER=\
@@ -3392,6 +3393,7 @@ otherwise {
${pre=-Wno-implicit-fallthrough SKIP ;ext=.pyx:SRC}
_LANG_CFLAGS_RL=-Wno-implicit-fallthrough
_LANG_CFLAGS_SWG=-Wno-deprecated-declarations
+ _LANG_CFLAGS_LEX=-Wno-unused-variable
}
# tag:src-processing
@@ -3416,7 +3418,8 @@ when ($CLANG == "yes" || $CLANG_CL == "yes" || $GCC == "yes") {
${pre=$_LANG_CFLAGS_RL;clear;ext=.rl5;noext;input:SRC} \
${pre=$_LANG_CFLAGS_RL;clear;ext=.rl6;noext;input:SRC} \
${pre=$_LANG_CFLAGS_RL;clear;ext=.pyx;noext;input:SRC} \
- ${pre=$_LANG_CFLAGS_SWG;clear;ext=.swg;noext;input:SRC}
+ ${pre=$_LANG_CFLAGS_SWG;clear;ext=.swg;noext;input:SRC} \
+ ${pre=$_LANG_CFLAGS_LEX;clear;ext=.l;noext;input:SRC}
}
# Allows to add single compilation unit name to the node's 'kv' section.