Files
allwpilib/upstream_utils/protobuf_patches/0015-Ignore-GCC-15-warning.patch
2025-08-09 00:07:41 -07:00

25 lines
869 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: iris <snazzsinclair@gmail.com>
Date: Thu, 7 Aug 2025 15:02:46 -0500
Subject: [PATCH 15/15] Ignore GCC 15 warning
---
src/google/protobuf/generated_message_tctable_lite.cc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/google/protobuf/generated_message_tctable_lite.cc b/src/google/protobuf/generated_message_tctable_lite.cc
index 23557a614752a9f0c93d8bd56724f3bc0f962185..ddb29cbddac62914b42e26d1758bb31e7e0d9204 100644
--- a/src/google/protobuf/generated_message_tctable_lite.cc
+++ b/src/google/protobuf/generated_message_tctable_lite.cc
@@ -47,6 +47,10 @@
#pragma GCC diagnostic ignored "-Wunused-function"
#endif
+#if __GNUC__ >= 15
+#pragma GCC diagnostic ignored "-Wmaybe-musttail-local-addr"
+#endif
+
namespace google {
namespace protobuf {
namespace internal {