mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
genbindings: suppress deprecated warnings
This commit is contained in:
parent
6fb50dc267
commit
2283213456
@ -117,6 +117,8 @@ func emitBindingHeader(src *CppParsedHeader, filename string) (string, error) {
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user