Follwoing sample produces what appears to be wrong result, compared to MSVC.
//---------------------------------------------------------//
#include <stdio.h>
void main( char argc, char *argv[] )
{
unsigned int number = 0x80000002;
switch( number )
{
case 0 :
printf( "Error 0: %i", number );
break;
case 1 :
printf( "Error 1: %i", number );
break;
case 2 :
printf( "Error 2: %i", number );
break;
case 3 :
printf( "Error 3: %i", number );
break;
default :
printf( "Good: %i", number );
}
}
//---------------------------------------------------------//
Ron
[P.S. Pelle, I'm still not able to contact your private email. Could you please advise how I could contact you?]