On 10/11/2018 10:43 PM, Eric Gallager wrote:
On 10/11/18, Martin Sebor <mse...@gmail.com> wrote:
The manual says that:
The packed attribute specifies that a variable or structure
field should have the smallest possible alignment--one byte
for a variable, and one bit for a field...
The variable part doesn't actually reflect reality: GCC and all
other compilers I tested ignore the attribute with a warning on
non-member objects, and only honor it on members.
The part that reads "and one bit for a field" is also incorrect:
it most likely meant to say bit-field.
The attached change fixes both of these issues.
Martin
The word "one" is duplicated in there: "one one" should be just "one"
Yes, thanks. I spotted it last night just before committing
and removed it.
Martin