home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!world!ksr!jfw
- From: jfw@ksr.com (John F. Woods)
- Newsgroups: comp.std.c
- Subject: Re: Character arrays in structures and address alignment -- any standard?
- Message-ID: <14216@ksr.com>
- Date: 28 Jul 92 10:20:59 EDT
- References: <1992Jul26.225252.4487@anasazi.com> <1992Jul27.183622.794@taumet.com> <1992Jul28.063356.28005@sq.sq.com>
- Sender: news@ksr.com
- Lines: 9
-
- msb@sq.sq.com (Mark Brader) writes:
- >> The Standard allows arbitrary padding between fields and after the
- >> last field.
- >Not quite; it allows padding so that the members are correctly aligned
- >for their types. It does not say anything about padding being permitted
- >for any other reasons, and my interpretation is that it isn't.
-
- Please show a strictly conforming program which can tell the difference
- between "necessary" padding and "unnecessary" padding.
-