On 06 February 2008 18:22, Vincent Lefevre wrote: > On 2008-02-06 18:52:16 +0100, Manuel López-Ibáñez wrote: >> Maybe I don't understand what you are asking but from reading the code >> and relevant testcases, it seems that: >> >> * Unsigned integer constants for enum values are handled just fine by >> GCC as a extension to the C language. (See testsuite/gcc.dg/enum1.c). > > The problem is the cast (suggested by Dave Korn), not the enum itself: > (int) 0x80001000
FTR, I was on a 64-bit host when I tested that. cheers, DaveK -- Can't think of a witty .sigline today....