-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Handle API evolution and additions #234
Comments
This also relates to #121. |
Relevant: the wiki for predef: Pre-defined Compiler Macros, in particular the Operating Systems and Architectures pages. They list commonly predefined macros for OSes and architectures. The wiki is also available as an export on GitHub if you prefer. |
I would personally not like to go down the route of generation just yet, but we're free to update whatever headers are on the system at any time in my opinion. They will likely inevitably break existing definitions as binary compatibility is now always upheld, but we can deal with it when it comes. |
Could you clarify a little what you mean here? |
Ah just that whenever we upgrade the OS image to include a newer glibc in the past something's always broken because some constant changes somewhere. |
For each How to fix this is being discussed in #570 , so I'm closing this issue. Please feel encouraged to chime up there if you care about this. |
In both #228 and #233, we're having CI failures for constants that aren't present in the headers that the test infrastructure uses.
Possible directions of improvement:
With generation, there's still a need to pick the correct type for a constant, so it can't be done purely mechanically. Yay C preprocessor!
The text was updated successfully, but these errors were encountered: