I am binding to a struct that defines a field called "callback". This ends up being passed to offsetof, where the pre-processor kicks in and expands it to caml_callback, resulting in the below error.
has no member named ‘caml_callback’; did you mean ‘callback’?
71 | #define callback caml_callback
| ^~~~~~~~~~~~~
I am binding to a struct that defines a field called "callback". This ends up being passed to
offsetof
, where the pre-processor kicks in and expands it to caml_callback, resulting in the below error.Is there any way to work around this?