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 currently working on a project where I will be using this on Solaris/Sparc 32-bit and I wanted to understand why there is a requirement for 8-byte alignment on the data, len, and cap fields in the struct capn_segment. As of right now, the call to ALIGNED in struct ALIGNED_(8) capn_segment fails. Thank you in advance!
The text was updated successfully, but these errors were encountered:
Cap'n Proto pointers (in the encoded binary result) have a granularity of 8 bytes (cf. https://capnproto.org/encoding.html), and the C implementation's in-memory layout is tied to the binary encoding. Hence, structures must be aligned to 8 bytes...
I am currently working on a project where I will be using this on Solaris/Sparc 32-bit and I wanted to understand why there is a requirement for 8-byte alignment on the data, len, and cap fields in the
struct capn_segment
. As of right now, the call to ALIGNED instruct ALIGNED_(8) capn_segment
fails. Thank you in advance!The text was updated successfully, but these errors were encountered: