-mx32 is not supported in gcc 4.6.x. change to use if-else sizeof(void*) in test code