Help with bit-field semantics in C and C++
Mike Stump
mrs@apple.com
Wed Aug 25 03:07:00 GMT 2004
On Tuesday, August 24, 2004, at 05:21 PM, Gabriel Dos Reis wrote:
> At any single time, the value of an enum -- other than that of an
> uninitialized variable -- is always a valid enumeration value, which is
> always in the range of enumration value, here [0.3].
Is this true when you use the type between C and C++ parts of a single
program? If so, how?
Is this true when you have existing .o files compiled with older
headers that have a subset of enumeration constants for a given enum?
Or, do we just ignore the real world? Is the standard better if we do?
More information about the Gcc
mailing list