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++


On Tuesday, August 24, 2004, at 05:56 PM, Gabriel Dos Reis wrote:
| The above program violates no rules of C++.  The value printed is
| either specified, or unspecified.  Which do you think it is, and if
| specified, which value is printed?

you forgot the option implementation-defined, which actually is the
case here.

Ok, you say implementation-defined, now cite the rule that makes this so.



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