mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-20 05:08:04 +00:00
[Core] Fix more C99 compliance issues
This fixes almost all the C99 compliance issues in the implementation of Clay. Now the only issues remaining are: - ##__VA_ARGS__, which isn't easy to solve without switching to C23. - Defining a struct within offsetof to get the alignment of a type, which also isn't easy to solve without switching to C11. - A number of times that signed integers are compared with unsigned integers, which will need some rethinking of all the types for lengths and indices etc. - Some strangeness with the CLAY_SIZING_FIT and CLAY_SIZING_GROW macros, which don't compile without specifying -std=gnu99 rather than -std=c99 for some reason.
This commit is contained in:
parent
37af99b221
commit
d761935ce1