-
Notifications
You must be signed in to change notification settings - Fork 160
C Stringification: prepend __extension__ before the typedef with __int128 #906
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
Conversation
…t128 This allows the generated C code to compile with gcc and -Wpedantic. Suggested in mit-plv#820 by @chjj
|
Thanks! Please also regenerate the C files (run Line 498 in 7b25093
The current CI error is due to a packaging issue with my ppa which I hope will be fixed within an hour or so (but may take up to a couple of days). |
addresses the review comments by @JasonGross
|
@JasonGross sure, done in 602069d (feel free to squash if that's preferred) |
|
Thanks! This doesn't seem to work, though: |
|
Maybe you meant |
|
indeed, sorry about that. I did not notice since I'm using on my development machine clang and there no such warning is issued, even with |
|
It might be wise to have a different prefix for the extension macro in each file: |
Co-authored-by: Jason Gross <jasongross9@gmail.com>
|
sure, as you like. (running |
|
Thanks! |
This allows the generated C code to compile with gcc and -Wpedantic.
Suggested in #820 by @chjj