search for: d__use_mingw_ansi_stdio

Displaying 1 result from an estimated 1 matches for "d__use_mingw_ansi_stdio".

Did you mean: __use_mingw_ansi_stdio
2014 Sep 12
2
win_utf8_io.c: Use fputws instead of fwprintf
Hi On MSVCRT, wprintf expects that %s is wide char string, but for not MSVCRT, this is not true. When using -D__USE_MINGW_ANSI_STDIO=1 on MINGW, mingw doesn't use MSVCRT. Therefore, compiling on mingw with -D__USE_MINGW_ANSI_STDIO=1 and redirecting stderr to a file, the printing result is corrupt. We should use fputws simply. A patch is attached. -------------- next part -------------- A non-text attachment wa...