Skip to content

Consider adding support for alignas (C23) and _Alignas (C11/C17) #1868

Description

@mkannwischer

See https://en.cppreference.com/c/language/_Alignas

C11 added _Alignas allowing to guarantee alignment beyond that the type guarantees; C23 renamed it to alignas. We should consider to extending MLK_ALIGN to use alignas/_Alignas when available. It is, however, not supported in a typedef, so we would have to move MLK_ALIGN for some structs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions