P99

◆ max_align_t

typedef union max_align_t max_align_t

A type with the maximum alignment among the standard types.

This type is required for C11. We achieve this feature by simply producing a union of all the standard types, object and function pointer types, struct and union.

If it is provided, we additionally use a gcc extension to determine such a maximal alignment.

Remarks
The actual declaration of this type should never be used for any other purpose than to ensure alignment. The field names are obfuscated to make such abuses really difficult.

Definition at line 774 of file p99_compiler.h.