-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
genbindings
doesn't work with clang-19
#116
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just tried the bindings generator on a more recent distro than bookworm, where clang 19 is available - the json output has changed and the way constructor types are specified has changed as well:
This is the
QEvent
constructor taking aQEvent::Type
- inclang-14
, the constructor type isvoid (QEvent::Type)
while in clang-19 it'svoid (Type)
- the consequence is thatType
is no longer found as an "enum" leading to lots of downstream problems.To support
clang-19
, one would have to dig intoinner
and fetch the type fromdesugaredQualType
instead of parsing the prototype - opening this issue mostly to document the problem, even if this is not a supported way of running the generator today.The text was updated successfully, but these errors were encountered: