Re: [PATCH 1/9] Define a structure for object IDs.
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- May 4, 2014, 21:31 UTC
- Message-ID
- <87ppjt6xjv.fsf@igel.home>
- In-Reply-To
- <5366A09E.6030802@kdbg.org>
Johannes Sixt <j6t@kdbg.org> writes:
> Isn't internal padding only allowed between members to achieve correct > alignment of later members, and at the end only sufficient padding so > that members are aligned correctly when the struct is part of an array?
The standard allows arbitrary internal padding, it doesn't have to be minimal.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."