Re: [doc PATCH] attribute packed does not apply to variables

2018-10-12 Thread Martin Sebor
On 10/11/2018 10:43 PM, Eric Gallager wrote: On 10/11/18, Martin Sebor 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 doe

Re: [doc PATCH] attribute packed does not apply to variables

2018-10-11 Thread Eric Gallager
On 10/11/18, Martin Sebor 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 a

Re: [doc PATCH] attribute packed does not apply to variables

2018-10-11 Thread Jeff Law
On 10/11/18 9:03 PM, Martin Sebor 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:

[doc PATCH] attribute packed does not apply to variables

2018-10-11 Thread Martin Sebor
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 attri