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
Example which gives the FP:
#define uptr_field_addr(obj, field) \
({ \
(typeof(&((typeof(obj))0)->field)) \
((char *)(obj) + (size_t)&((typeof(obj))0)->field); \
})
ERROR: Macro argument 'field' may be better as '(field)' to avoid
precedence issues
And using () around `field` won't compile.
Closes#43
0 commit comments