Help with bit-field semantics in C and C++
Gabriel Dos Reis
gdr@integrable-solutions.net
Wed Aug 25 00:30:00 GMT 2004
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
More information about the Gcc
mailing list