Public Comment Number PC-UK0056 ISO/IEC CD 9899 (SC22N2620) Public Comment =========================================== Date: 1998-01-19 Author: Clive D.W. Feather Author Affiliation: Self Postal Address: Demon Internet Limited 322 Regents Park Road London N3 2QQ United Kingdom E-mail Address: Telephone Number: +44 181 371 1138 Fax Number: +44 181 371 1037 Number of individual comments: 1 Comment 1. Category: Feature that should be included Committee Draft subsection: 7.1.6 Title: Add a symbol giving the maximum alignment Detailed description: [I eventually decided is the right place for this.] Add a new macro to : _ALIGNMENT_ALL which expands to an integer constant expression that has type /size_t/, the value of which is the least common multiple of the alignments of all object types.[*] [*] If /p/ has pointer to character type and is suitably aligned for some type /t/, then /(p + _ALIGNMENT_ALL)/ is also suitably aligned for the same type /t/, no matter what /t/ is. Possibly also add the macros: _ALIGNMENT_INTS _ALIGNMENT_FLOATS _ALIGNMENT_POINTERS which are the least common multiples of the alignments for integer types, for floating types, and for pointer types respectively. Other names could also be conceived of (_ALIGNMENT_STRUCTS, _ALIGNMENT_UNIONS, _ALIGNMENT_SCALARS, etc.).