genbindings: suppress deprecated warnings

This commit is contained in:
mappu 2024-08-10 11:45:29 +12:00
parent 6fb50dc267
commit 2283213456

View File

@ -117,6 +117,8 @@ func emitBindingHeader(src *CppParsedHeader, filename string) (string, error) {
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h> #include <stddef.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif