switch-enum-warnings-disable.patch 541 B

12345678910
  1. --- contrib/libs/protobuf/src/google/protobuf/port_def.inc (af38e0d9473a2b9fcf94ea1dfc7b68818a3e657d)
  2. +++ contrib/libs/protobuf/src/google/protobuf/port_def.inc (61c97633ad4150fc3855f71a23e0b8d90f4c4f42)
  3. @@ -997,6 +997,7 @@
  4. // This error has been generally flaky, but we need to disable it specifically
  5. // to fix https://github.com/protocolbuffers/protobuf/issues/12313
  6. #pragma clang diagnostic ignored "-Wunused-parameter"
  7. +#pragma clang diagnostic ignored "-Wswitch-enum"
  8. #endif
  9. #ifdef __GNUC__
  10. #pragma GCC diagnostic push