I seem to be having yet more wierd issue with bit shifting. It seems
the following code doesnt do anything under gcc (ie it returns -1 as
both results). Anyone know why? Is it another language definition or
CPU issue?
main()
{
printf("%d\n",( int)0xFFFFFFFF >1);
printf("%d\n",( int)-1 >1);
}
B2003
Comment