Thank you, Andrew. > What version of GCC are you using? I'm using GCC 3.4.5 (mingw-vista special r3). I downloaded the latest mingw; I take it for granted that latest mingw uses latest GCC.
> Works for me on i686-pc-darwin with GCC 4.0.0 and above. It does > print out -1024 on powerpc-darwin with GCC 3.3 though. I verified it does work on linux with GCC 4.4.1. Great GCC! :-) Best Regards, Ding Curie