-
Notifications
You must be signed in to change notification settings - Fork 694
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
Preprocessing meta-issue #2426
Comments
tagging @reitermarkus |
I've finally had the time to iron out bugs and work on my C preprocessor, which is derivative of but largely a rewrite of the earlier Saltwater attempt. #1782 It looks like cexpr appears to handle macro parsing and expression parsing according to the code I see, but the issue obviously means it doesn't. I'd like to trial an attempt to at least integrate the preprocessor, while keeping cexpr for expression parsing. Do you have any pointers for this? |
@reitermarkus is already working on something similar here #2369. |
This issue keeps track of all the
bindgen
issues related to preprocessing directives. The two most common reasons for these issues are the following:libclang
doesn't have a "good enough" API to implement all the desired features.rust-cexpr
cannot evaluate certain expressions.However, this is not an exhaustive list and there might be more issues blocking these.
#define *
intoenum
s instead of constants #2174The text was updated successfully, but these errors were encountered: