This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: packed, aligned


Dennis Bjorklund <db@zigo.dhs.org> writes:

> Why would someone want to pack a struct and still have some padding in the
> end?

So that in an array of structures, each structure starts on an
appropriate boundary. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]