You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
| ^~~~~~~~~~~~~
Is there any way to work around this?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: