diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-06-16 21:14:45 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-06-16 21:30:11 +0300 |
commit | d49315affaf435f1e9852a3ce84101e28fe765bf (patch) | |
tree | 9dbb6ea2412f5d8fdf2cfd42feeb677bcba02af1 /build | |
parent | be56f24a02c348ff838c00269b9fb9ed8857a07c (diff) | |
download | ydb-d49315affaf435f1e9852a3ce84101e28fe765bf.tar.gz |
Ignore warnings from bison, do not try to fix them
Some attempts to fix `-Wimplicit-fallthrough` are also visible.
This warning was not enabled by default so there should be no need to ignore it.
c285009965d42ab59060edad82d2af1715d686b8
Diffstat (limited to 'build')
-rw-r--r-- | build/ymake.core.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 28fc8e7888..55ed2bbbb9 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -3385,6 +3385,7 @@ when ($CLANG == "yes") { _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 + _LANG_CFLAGS_BISON=-Wno-unused-but-set-variable -fno-profile-instr-generate -fno-coverage-mapping } otherwise { _LANG_CFLAGS_FILTER=\ @@ -3394,6 +3395,7 @@ otherwise { _LANG_CFLAGS_RL=-Wno-implicit-fallthrough _LANG_CFLAGS_SWG=-Wno-deprecated-declarations _LANG_CFLAGS_LEX=-Wno-unused-variable + _LANG_CFLAGS_BISON=-Wno-unused-but-set-variable } # tag:src-processing @@ -3415,6 +3417,8 @@ _LANG_CFLAGS_VALUE_NEW= when ($CLANG == "yes" || $CLANG_CL == "yes" || $GCC == "yes") { _LANG_CFLAGS_VALUE=$_LANG_CFLAGS(${noext:SRC}) _LANG_CFLAGS_VALUE_NEW=\ + ${pre=$_LANG_CFLAGS_BISON;clear;ext=.y;noext;input:SRC} \ + ${pre=$_LANG_CFLAGS_BISON;clear;ext=.ypp;noext;input:SRC} \ ${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} \ |