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
{{ message }}
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.
Thanks for the report. The issue is that attribute((packed)) is not being applied correctly. From the GCC docs:
Specifying this attribute for struct and union types is equivalent to specifying the packed attribute on each of the structure or union members. Specifying the -fshort-enums flag on the line is equivalent to specifying the packed attribute on all enum definitions.
In this case the alignment is being updated for the outer struct, but it needs to update the members as well.
With this declaration:
Running this:
Will print:
As opposed to the expected
The text was updated successfully, but these errors were encountered: