x86_64-w64-mingw32 test FAIL t-scanf.c:1477: GNU MP assertion failed: ret == (-1)
Torbjörn Granlund
tg at gmplib.org
Fri Mar 31 13:33:13 UTC 2017
Claude Heiland-Allen <claude at mathr.co.uk> writes:
> Could the macro __USE_MINGW_ANSI_STDIO be relevant?
Yes, perfect! I did
CPPFLAGS=-D__USE_MINGW_ANSI_STDIO ./configure
--host=x86_64-w64-mingw32 --prefix=$HOME/win64
CPPFLAGS=-D__USE_MINGW_ANSI_STDIO make -j 8
CPPFLAGS=-D__USE_MINGW_ANSI_STDIO make install
CPPFLAGS=-D__USE_MINGW_ANSI_STDIO make check
and the whole test suite passes now.
User choice is great; one can choose between malfunctioning libc or
explicitly ask for a correct one.
Should we pass this option for mingw on GMP's configure.ac?
Or do people expect broken libc on this platform...?
--
Torbjörn
Please encrypt, key id 0xC8601622
More information about the gmp-bugs
mailing list