Other compilers are OK with this (see code below). Is it because of ANSI?
Is there a way to do such things without re-declaring variables?
I mean typecasting any variable to any type.
int main (int argc, char *argv[])
{
unsigned z;
void* p;
(int)z = (int)z-5;
(int)p = (int)p+2;
return 0;
}
Test.c(5): error #2088: Lvalue required.
Test.c(6): error #2088: Lvalue required.