From 84dc161d55222ada819252e26eb9427dbdbd65c8 Mon Sep 17 00:00:00 2001 From: FranklinDM Date: Fri, 17 Mar 2023 22:17:26 +0800 Subject: [PATCH] Issue #2061 - Follow-up: Silence compiler warnings for libjxl --- media/libjxl/moz.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media/libjxl/moz.build b/media/libjxl/moz.build index 8ac386a548..38cd40344f 100644 --- a/media/libjxl/moz.build +++ b/media/libjxl/moz.build @@ -128,7 +128,9 @@ DEFINES["JPEGXL_ENABLE_TRANSCODE_JPEG"] = "0" FINAL_LIBRARY = "gkmedias" # We allow warnings for third-party code that can be updated from upstream. -ALLOW_COMPILER_WARNINGS = True +# XXX: libjxl produces way too many compiler warnings. +# Silence them in the meantime. +ALLOW_COMPILER_WARNINGS = False # Clang 5.0 has a compiler bug that prevents build in c++17 # See https://gitlab.com/wg1/jpeg-xl/-/issues/227