go-clang / gen

Generate Go bindings for Clang's C API
https://pkg.go.dev/github.com/go-clang/gen
BSD 3-Clause "New" or "Revised" License
44 stars 5 forks source link

Deprecation warning #181

Closed darmie closed 2 years ago

darmie commented 2 years ago

Unable to run the code due to this:

cgo-gcc-prolog:267:11: warning: 'clang_getDiagnosticCategoryName' is deprecated [-Wdeprecated-declarations]
../../Users/damilare/go/pkg/mod/github.com/go-clang/clang-v14@v1.0.0/clang/clang-c/Index.h:1042:1: note: 'clang_getDiagnosticCategoryName' has been explicitly marked deprecated here
../../Users/damilare/go/pkg/mod/github.com/go-clang/clang-v14@v1.0.0/clang/clang-c/Platform.h:44:44: note: expanded from macro 'CINDEX_DEPRECATED'