This program will compile using gcc. But fails using g++ compiler ( we need explicit type casting here). Is there any flag or anyother way thru which we could compile this using g++ ( without explicit type cast ) #include <stdio.h> int main() { unsigned int addr=0xffff; int *ptr; ptr=addr; return 0; } -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html