x86_64-w64-mingw32 test FAIL t-scanf.c:1477: GNU MP assertion failed: ret == (-1)

Torbjörn Granlund tg at gmplib.org
Thu Apr 6 15:51:48 UTC 2017


Vincent Lefevre <vincent at vinc17.net> writes:

  One can look at the preprocessor output. :-)
  
Please do that for all relevant versions.  :-)

  With -D__USE_MINGW_ANSI_STDIO:
  
  static __attribute__ ((__unused__)) __inline__ __attribute__((__cdecl__))
  __attribute__((__format__ (gnu_printf, 1, 2))) __attribute__ ((__nonnull__ (1)))
  int printf (const char *__format, ...)
  {
    register int __retval;
    __builtin_va_list __local_argv; __builtin_va_start( __local_argv, __format );
    __retval = __mingw_vprintf( __format, __local_argv );
    __builtin_va_end( __local_argv );
    return __retval;
  }

Looks good.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list