D
Dave Thompson
To be clear, standardly *requires* that there *not* be any padding.Mark F. Haigh wrote:
(snip regarding unaligned access and pointers)
Mostly because Fortran COMMON requires no padding bytes, so it is
easy to generate unaligned data.
COMMON hasn't. But there is a new improved and often preferable(At least it used to. It may have changed by now.)
*alternative*, a MODULE containing data (and possibly routines), which
does allow alignment and also (standardly) provides better checking.
Much as even C99 still has K&R1 functions, but prototypes are better.
- David.Thompson1 at worldnet.att.net