diff options
author | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/protobuf/patches/disable-deprecated-enum-enum-conversion.patch | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
download | ydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/protobuf/patches/disable-deprecated-enum-enum-conversion.patch')
-rw-r--r-- | contrib/libs/protobuf/patches/disable-deprecated-enum-enum-conversion.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/contrib/libs/protobuf/patches/disable-deprecated-enum-enum-conversion.patch b/contrib/libs/protobuf/patches/disable-deprecated-enum-enum-conversion.patch new file mode 100644 index 0000000000..b255e8e07f --- /dev/null +++ b/contrib/libs/protobuf/patches/disable-deprecated-enum-enum-conversion.patch @@ -0,0 +1,17 @@ +commit af38e0d9473a2b9fcf94ea1dfc7b68818a3e657d +author: nechda +date: 2024-08-08T14:03:30+03:00 + + [PROTOBUF] Dont emit erro deprecated-enum-enum-conversion + +--- contrib/libs/protobuf/src/google/protobuf/port_def.inc (7f7b074042eca175373d29cc3fb0f81287851b42) ++++ contrib/libs/protobuf/src/google/protobuf/port_def.inc (af38e0d9473a2b9fcf94ea1dfc7b68818a3e657d) +@@ -975,7 +975,7 @@ static_assert(PROTOBUF_CPLUSPLUS_MIN(201402L), "Protobuf only supports C++14 and + #pragma clang diagnostic ignored "-Wshorten-64-to-32" + // Turn on -Wdeprecated-enum-enum-conversion. This deprecation comes in C++20 + // via http://wg21.link/p1120r0. +-#pragma clang diagnostic error "-Wdeprecated-enum-enum-conversion" ++// #pragma clang diagnostic error "-Wdeprecated-enum-enum-conversion" + // This error has been generally flaky, but we need to disable it specifically + // to fix https://github.com/protocolbuffers/protobuf/issues/12313 + #pragma clang diagnostic ignored "-Wunused-parameter" |