0015.patch (1196B)
1 From: Michael Froman <mfroman@mozilla.com> 2 Date: Mon, 21 Jul 2025 15:50:00 -0500 3 Subject: Bug 1978462 - disable absl nullability specifiers since libwebrtc has 4 too many warnings. r?ng! 5 6 There are too many places in libwebrtc that are not yet marked 7 with nullability type specifiers. We need to disable them until 8 that is fixed upstream. 9 Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/f3b19b7999b3271ca5858d587673e3eb43525c32 10 --- 11 abseil-cpp/absl/base/nullability.h | 3 ++- 12 1 file changed, 2 insertions(+), 1 deletion(-) 13 14 diff --git a/abseil-cpp/absl/base/nullability.h b/abseil-cpp/absl/base/nullability.h 15 index d11da5793b3..af684f09460 100644 16 --- a/abseil-cpp/absl/base/nullability.h 17 +++ b/abseil-cpp/absl/base/nullability.h 18 @@ -221,7 +221,8 @@ 19 #define ABSL_POINTERS_DEFAULT_NONNULL 20 21 #if defined(__clang__) && !defined(__OBJC__) && \ 22 - ABSL_HAVE_FEATURE(nullability_on_classes) 23 + ABSL_HAVE_FEATURE(nullability_on_classes) && \ 24 + 0 // mozilla - stop warnings in libwebrtc for "missing a nullability type specifier" 25 // absl_nonnull (default with `ABSL_POINTERS_DEFAULT_NONNULL`) 26 // 27 // The indicated pointer is never null. It is the responsibility of the provider