Different result with Borland, is this a bug in the compiler?


2005-01-04 04:53:32 AM
cppbuilder100
Hello!
Execute these lines:
int x = 1;
x = x>2345678901;
You will get:
x == 1 with Borland C++ Builder
x == 0 with Microsoft Visual Studio
"int" is 32 bit in both compilers.
So the result should be the same.
Is this a bug in the Borland compiler?
Greetings,
Markus Sandheide