Hi, On 2023-12-13 20:03:13 +0100, marco.bodr...@tutanota.com wrote: > It was changed in 2001, probably a workaround, because the comment was > "Don't use sprintf return value (it's a pointer on SunOS 4)" > https://gmplib.org/repo/gmp/rev/0889877bb94a
Note that there are similar issues in printf/repl-vsnprintf.c, and I think that this is the cause of the MPFR failure with MS Visual C++ (vsnprintf is used by gmp_vasprintf). This file was added on 26 Oct 2001, thus 2 months after 0889877bb94a. -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) _______________________________________________ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs