home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!emory!gatech!concert!sas!mozart.unx.sas.com!sasghm
- From: sasghm@theseus.unx.sas.com (Gary Merrill)
- Newsgroups: comp.lang.c
- Subject: Re: Is this ANSI?
- Message-ID: <By6pC6.3u7@unx.sas.com>
- Date: 23 Nov 92 19:40:53 GMT
- Article-I.D.: unx.By6pC6.3u7
- References: <9eRguB1w165w@quest.UUCP> <24238@alice.att.com> <By0vu2.7AF@unx.sas.com> <24262@alice.att.com> <By6HMs.I4r@unx.sas.com> <1992Nov23.180808.19157@ncsu.edu>
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Organization: SAS Institute Inc.
- Lines: 13
- Originator: sasghm@theseus.unx.sas.com
- Nntp-Posting-Host: theseus.unx.sas.com
-
-
- In article <1992Nov23.180808.19157@ncsu.edu>, jlnance@eos.ncsu.edu (JAMES LEWIS NANCE) writes:
-
- |> I asked my C mentor about this once, and he pointed out that the compiler is
- |> free to store the members of the structure in any order. Thus the compiler
-
- Nonsense. See section 3.5.2.1: "Within a structure object, the
- non-bit-field members and the units in which bit-fields reside have
- addresses that increase in the order in which they are declared."
- --
- Gary H. Merrill [Principal Systems Developer, C Compiler Development]
- SAS Institute Inc. / SAS Campus Dr. / Cary, NC 27513 / (919) 677-8000
- sasghm@theseus.unx.sas.com ... !mcnc!sas!sasghm
-