From 0abf3aca36592419e66bffc54dfbd1c3fa2c3c23 Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Mon, 13 Apr 2026 13:04:11 -0700 Subject: [PATCH] cgo: suppress deprecated warning to quiet down go build (#15438) --- llama/llama.cpp/common/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama/llama.cpp/common/common.go b/llama/llama.cpp/common/common.go index e11bb1679..4a18328b8 100644 --- a/llama/llama.cpp/common/common.go +++ b/llama/llama.cpp/common/common.go @@ -1,6 +1,6 @@ package common -// #cgo CXXFLAGS: -std=c++17 +// #cgo CXXFLAGS: -std=c++17 -Wno-deprecated-declarations // #cgo CPPFLAGS: -I${SRCDIR}/../include -I${SRCDIR}/../vendor // #cgo CPPFLAGS: -I${SRCDIR}/../../../ml/backend/ggml/ggml/include import "C"