commit 34e1fad34c31fd7c04ae609b1f905a6050fffb6a
parent adb99d8a8faf3fb19569ce7eb1236e17d8d4d6c0
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Date: Thu, 13 Nov 2025 04:06:28 +0000
Bug 1999682 - Allow warnings in llama.cpp. r=padenot
llama-adapter.cpp(161,15): error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
Differential Revision: https://phabricator.services.mozilla.com/D272234
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/third_party/llama.cpp/moz.build b/third_party/llama.cpp/moz.build
@@ -7,6 +7,8 @@
with Files('**'):
BUG_COMPONENT = ('Core', 'Machine Learning')
+AllowCompilerWarnings()
+
include('sources.mozbuild')
SOURCES += files["COMMON_SOURCES"]