cgo: suppress deprecated warning to quiet down go build (#15438)

This commit is contained in:
Daniel Hiltgen 2026-04-13 13:04:11 -07:00 committed by GitHub
parent ee0266462a
commit 0abf3aca36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"