HomeFreeBSD

Add definition to support alloc_align attribute.

Description

Add definition to support alloc_align attribute.

gcc 4.9 added support for new alignment attribute alloc_align:

The alloc_align attribute is used to tell the compiler that the function
return value points to memory, where the returned pointer minimum
alignment is given by one of the functions parameters. GCC uses this
information to improve pointer alignment analysis.

This attribute is not (yet) available on clang.

Details

Provenance
pfgAuthored on
Parents
rS281944: vt(4): Simplify mouse area detection
Branches
Unknown
Tags
Unknown