kill warnnings under mingw and win32 and macosx(gcc)