Can we make enums 64 bit at least when compiling for 64 bit platforms? I don't understand why they're limited to (SIGNED) 32 bit, it just doesn't make any sense.
The C standard says that enum type is 'int':
"The expression that defines the value of an enumeration constant shall be an integer constant expression that has a value representable as an int."
In C++11 you can specify the type.
..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB Warfvinges väg 34 SE-112 51 Stockholm Sweden
Mobile: +46 (0)709 12 42 62
E-mail: Daniel.Marjamaki@evidente.se
www.evidente.se