Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/abseil-cpp/moz-patch-stack/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  0018.patch   Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

From: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Date: Tue, 13 May 2026 00:00:00 +0000
Subject: Bug 1989886 - Suppress sign-compare in abseil CHECK_OP macros. r?#firefox-build-system-reviewers

---
 abseil-cpp/absl/log/internal/check_op.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/abseil-cpp/absl/log/internal/check_op.h b/abseil-cpp/absl/log/internal/check_op.h
index 8d7ade4427e5..ba8a02aeb566 100644
--- a/abseil-cpp/absl/log/internal/check_op.h
+++ b/abseil-cpp/absl/log/internal/check_op.h
@@ -398,6 +398,13 @@ ABSL_LOG_INTERNAL_DEFINE_MAKE_CHECK_OP_STRING_EXTERN(const void*);
   MakeCheckOpString<U1, U2>(v1, v2, exprtext)
 #endif

+// Comparing mixed signed/unsigned values is intentional in CHECK_OP. A
+// push/pop pragma does not interact correctly with macro definitions, so
+// suppress without restoring. This header is transitively included by all
+// protobuf-generated headers, so this pragma affects entire translation
+// units that include any .pb.h file.
+#pragma GCC diagnostic ignored "-Wsign-compare"
+
 // Helper functions for `ABSL_LOG_INTERNAL_CHECK_OP` macro family.  The
 // `(int, int)` override works around the issue that the compiler will not
 // instantiate the template version of the function on values of unnamed enum

[Dauer der Verarbeitung: 0.37 Sekunden]