diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-06-01 13:23:00 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-06-01 13:35:16 +0300 |
commit | 110ac369547e14483c9fffcabccf47f04d08010c (patch) | |
tree | 7f51da6ba7b517038ba7002e0646a8716c813dc7 | |
parent | 122afa8f663b99fc7901253f4e00386701ac7500 (diff) | |
download | ydb-110ac369547e14483c9fffcabccf47f04d08010c.tar.gz |
Disable -Wdeprecated-declarations when compiling swig-generated code
da813408128ccc8c4ff8bf77751e68e5d3a10398
-rw-r--r-- | build/ymake.core.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 5f60ac8c70..2da204b7c4 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -3383,6 +3383,7 @@ when ($CLANG == "yes") { ${pre=-Wno-implicit-fallthrough -fno-profile-instr-generate -fno-coverage-mapping SKIP ;ext=.rl6:SRC} \ ${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 } otherwise { _LANG_CFLAGS_FILTER=\ @@ -3390,6 +3391,7 @@ otherwise { ${pre=-Wno-implicit-fallthrough SKIP ;ext=.rl6:SRC} \ ${pre=-Wno-implicit-fallthrough SKIP ;ext=.pyx:SRC} _LANG_CFLAGS_RL=-Wno-implicit-fallthrough + _LANG_CFLAGS_SWG=-Wno-deprecated-declarations } # tag:src-processing @@ -3413,7 +3415,8 @@ when ($CLANG == "yes" || $CLANG_CL == "yes" || $GCC == "yes") { _LANG_CFLAGS_VALUE_NEW=\ ${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_RL;clear;ext=.pyx;noext;input:SRC} \ + ${pre=$_LANG_CFLAGS_SWG;clear;ext=.swg;noext;input:SRC} } # Allows to add single compilation unit name to the node's 'kv' section. |