i need some unsigned 32bit enum values for my software, therefore i implemented this (simple) enum:
enum{
val1 = 0xFFFFFFFFu,
val2 = 0xFFFFFFFEu,
val3 = 0xFFFFFFF0
};
The problem: Everytime i run the compiler, Eclipse aborts compiling and marks the enum with the following error:
In my oppinion, a 32 int value should not be a problem for enums, but obviously it seems to be.
I would be grateful about some input :)
[Update 1:] I will try to find the problem in the compiler settings, i will keep you up to date