Rémi Denis-Courmont (12023-05-02): > A JSON writer that requires forced alignment is a poorly-written JSON parser. This JSON writer requires that the structures that contain its state are aligned, just like any other piece of C code. There is nothing poorly-written here. > This is reinventing standard max_align_t but with a more confusing name and > less portable implementation... I did not know it exists. Thanks for the pointer. > Indeed this is not about "padding", but about alignment. It is about both. Regards, -- Nicolas George