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