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 10:51  AM, Joe Buck wrote:
| > On Tue, Aug 24, 2004 at 11:05:41AM -0600, Roger Sayle wrote:
| >> The problem here is that a C++ enum can hold values outside the range
| >> of it's type.
| 
| > If it does, the program is not a valid ISO C++ program.
| 
| ?  What?  Of course it is.
| 
| I think the standard is perfectly clear in this area:

You're quoting C99 which has a quite different semantics in this area. 
Joe is talking about C++.

-- Gaby


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