On Wed, 20 Jan 2010, Kirill A. Shutemov wrote: > 2010/1/20 Gleb Natapov <g...@redhat.com>: > > On Wed, Jan 20, 2010 at 02:03:04PM +0100, Markus Armbruster wrote: > >> "Kirill A. Shutemov" <kir...@shutemov.name> writes: > >> > No, compiler can't add anything between. 'char' is always byte-aligned. > >> > >> You got some reading to do then. > >> > > To be fair this structure is packed, but this is not the reason to write > > stupid code of course. > > In what way does it stupid? Compiler can't insert pads between two > arrays of 'char'.
Can you cite chapter and verse of the standard where it's spelled out? -- mailto:av1...@comtv.ru