gcc15.patch 535 B

12345678910
  1. --- a/src/google/protobuf/port_def.inc 2025-06-02 14:48:16.547634929 +0800
  2. +++ b/src/google/protobuf/port_def.inc 2025-06-02 14:51:10.612262509 +0800
  3. @@ -236,6 +236,7 @@
  4. #endif
  5. #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \
  6. !defined(_ARCH_PPC) && !defined(__wasm__) && \
  7. + !(defined(__GNUC__) && __GNUC__ >= 15) && \
  8. !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__)
  9. // Compilation fails on ARM32: b/195943306
  10. // Compilation fails on powerpc64le: b/187985113