Skip to content

importC: check mixing _Alignas and attribute(aligned)/declspec(align) on computed struct alignment #22897

@ibuclaw

Description

@ibuclaw

#21765

Specific to mixing C _Alignas and attribute/declspec aligned .

  1. Which alignment wins on regular fields?
  2. Ditto bitfields
  3. What's its Interaction with packed attribute? Ie: tail padding applied in structs alters position of next field, or static arrays.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions