This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help with bit-field semantics in C and C++


Mike Stump <mrs@apple.com> writes:

| On Tuesday, August 24, 2004, at 02:49  PM, Mark Mitchell wrote:
| >> Grrr...  It _is_ permitted.  The standard is perfectly clean on
| >> this issue.
| >
| > Pragmatically, I'd say that if there's this much disagreement among
| > people who know the standard very well
| 
| Permitted to me means must be compiled by the compiler.  The program
| must be compiled.  If you all mean something different by the word
| permitted, then, I'd ask you to use some other terminology.

You;re right that the program should be accepted by the compiler
because it violates no diagnosable rules. 

I believe the issue is whether the value actually stored in the enum
object should be 7. That is where I was understanding "permitted"
being used.

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]