bruce@su-shasta.arpa (01/02/85)
Having ``packed'' structures in C would help tremendously in writing
protocol code. There really are times that the data is defined by
someone else, and having a clear (structured) way of describing it
is MUCH better than packing and unpacking inside of the receiving/
generating code. It may also be more efficient.
I recommend some mechanism for forcing ``packed'' structures. If
a particular compiler cannot handle some alignments, it can complain
when it sees them, e.g., { char, short, long } can complain about the
short and/or long on an odd boundary.
This would be a useful ``standard extension'' to C.
/Bruce Borden