Ben Pfaff wrote: > While compiling GNU PSPP under mingw32, for portability testing > purposes, I noticed an error from printf-args.c in gnulib: > > ../../intl/printf-args.c: In function `printf_fetchargs': > ../../intl/printf-args.c:83: warning: `wint_t' is promoted to `int' when > passed through `...' > ../../intl/printf-args.c:83: warning: (so you should pass `int' not `wint_t' > to `va_arg') > ../../intl/printf-args.c:83: note: if this code is reached, the program will > abort > > which corresponds to these source lines: > > #ifdef HAVE_WINT_T > case TYPE_WIDE_CHAR: > ap->a.a_wide_char = va_arg (args, wint_t); > break; > #endif
Thanks for reporting this. This is already fixed in gnulib for 6 months: 2006-07-22 Bruno Haible <[EMAIL PROTECTED]> Merge from GNU gettext 0.15. 2005-07-05 Bruno Haible <[EMAIL PROTECTED]> * printf-args.c (printf_fetchargs): Work around broken definition of wint_t on mingw.