From 2283213456948381807a8327168eda8e589d2ee1 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 10 Aug 2024 11:45:29 +1200 Subject: [PATCH] genbindings: suppress deprecated warnings --- cmd/genbindings/emitcabi.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/genbindings/emitcabi.go b/cmd/genbindings/emitcabi.go index 2fdb7d3f..3b78ebf2 100644 --- a/cmd/genbindings/emitcabi.go +++ b/cmd/genbindings/emitcabi.go @@ -117,6 +117,8 @@ func emitBindingHeader(src *CppParsedHeader, filename string) (string, error) { #include #include +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + #ifdef __cplusplus extern "C" { #endif