home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!edcastle!aiai!richard
- From: richard@aiai.ed.ac.uk (Richard Tobin)
- Newsgroups: comp.std.c
- Subject: Re: Character arrays in structures and address alignment -- any standard?
- Message-ID: <7039@skye.ed.ac.uk>
- Date: 31 Jul 92 17:08:14 GMT
- References: <Bs5pMJ.3nM@twwells.com> <7022@skye.ed.ac.uk> <1992Jul31.010941.7282@crd.ge.com>
- Organization: Templi Resurgentes Equites Synarchici
- Lines: 22
-
- In article <1992Jul31.010941.7282@crd.ge.com> volpe@ausable.crd.ge.com writes:
- >|> *If* the standard allows "unnecessary" padding, this program is not
- >|> strictly conforming.
-
- >PRO: "But *if* unnecessary padding is ok, *then* the program isn't
- > Strictly Conforming, *therefore* the as-if rule still applies,
- > *therefore* unnecessary padding is ok!"
-
- You're over-interpreting my statement. I wasn't trying to prove that
- unnecessary padding is ok. I was merely pointing out that it couldn't
- be a strictly conforming program that behaved differently under the
- two interpretations, because under one of them it wouldn't be strictly
- conforming.
-
- It appears to be the case that you can't write a strictly conforming
- program that prints the value of any implementation-defined parameter.
-
- -- Richard
- --
- Richard Tobin,
- AI Applications Institute, R.Tobin@ed.ac.uk
- Edinburgh University.
-