Article View: comp.std.c
Article #3113Re: Non-Portable pointer assignment?
From: Henry Spencer
Date: Sun, 09 Jun 1991 22:46
Date: Sun, 09 Jun 1991 22:46
15 lines
1229 bytes
1229 bytes
In article <16359@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes: >-It's worse than that. Recently it was pointed out that a named enumeration >-type is in scope as soon as its name is seen, and since there is no provision >-for incomplete enumerated types, that means that `sizeof(enumtype)' is legal >-before the members have been seen... so the size of the type cannot depend >-on the values of the members!! (In X3J11's defence, this probably was not >-deliberate.) > >I'm not sure X3J11 would agree with the above interpretation. What part of it do you think they would disagree with? I see no "interpretation" involved. -- "We're thinking about upgrading from | Henry Spencer @ U of Toronto Zoology SunOS 4.1.1 to SunOS 3.5." | henry@zoo.toronto.edu utzoo!henry
Technical Details
Message-ID:
<1991Jun9.224624.3859@zoo.toronto.edu>Path:
arc1-ca.pugleaf.net!utzoo!henryReferences:
<MCDANIEL.91Jun6111329@dolphin.adi.com> <1991Jun7.013605.728@tkou02.enet.dec.com> <1991Jun7.161752.9625@zoo.toronto.edu> <16359@smoke.brl.mil>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c Path: arc1-ca.pugleaf.net!utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Non-Portable pointer assignment? Message-ID: <1991Jun9.224624.3859@zoo.toronto.edu> Date: Sun, 9 Jun 1991 22:46:24 GMT References: <MCDANIEL.91Jun6111329@dolphin.adi.com> <1991Jun7.013605.728@tkou02.enet.dec.com> <1991Jun7.161752.9625@zoo.toronto.edu> <16359@smoke.brl.mil> Organization: U of Toronto Zoology