When compiling with Realview :
unsigned long x;
x = 1<<31;
I get the message: Main.c(121): warning: #61-D: integer operation result is out of range Main.c(121): warning: #68-D: integer conversion resulted in a change of sign
When doing the same with C51 it gives no message. Any idea ?