On 8/21/23 11:31, Arsen Arsenović wrote:
Torbjörn Granlund writes:
Dennis Clarke writes:
Pretty sure that should be "int main (void) { return 0; } ".
Surely that is not how the implicit main() declaration looks? A new
compiler warning is warranted. So add (int argc, const char
Torbjörn Granlund writes:
> Dennis Clarke writes:
>
> Pretty sure that should be "int main (void) { return 0; } ".
>
> Surely that is not how the implicit main() declaration looks? A new
> compiler warning is warranted. So add (int argc, const char **argv)!
> Oops, unused parameters, darn.
> Ah, that normally happens as part of LT_INIT, and what is broken is that we
> use some other libtool autoconf macro before LT_INIT. We should move things
> so GMP_PROG_NM (or at least LT_PATH_NM) is after LT_INIT.
I was just arriving at the same conclusion, from my own testing.
FX
On Mon, 21 Aug 2023, Marc Glisse wrote:
because SED is used before it is set. I guess AC_PROG_SED might help, but
since all the uses of SED are introduced by autotools, it feels like a bug
that they don't add it automatically.
Ah, that normally happens as part of LT_INIT, and what is broken
On Mon, 31 Jul 2023, FX Coudert wrote:
Hopefully this makes gmp future-proof for at least 10 years in terms of
autoconf/automake :)
I pushed most of your changes (the windows one will have to wait a bit),
thanks. There should not be any regressions with the old autotools. But
note that if
On Mon, 31 Jul 2023, FX Coudert wrote:
warning: The macro `AC_PROG_CC_C99' is obsolete.
This one is only obsolete in autoconf 2.70+, so I am keeping it for now.
--
Marc Glisse
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
On Sun, 30 Jul 2023, FX Coudert wrote:
PS: second patchlet, to deal with these two macros:
warning: The macro `AC_HEADER_STDC' is obsolete.
warning: The macro `AC_HEADER_TIME' is obsolete.
I am a bit confused why this change makes ylwrap appear in am__DIST_COMMON
in Makefile.in, but that
On 2023-08-21 10:59:13 +0200, Paul Zimmermann wrote:
> here is a small program that exhibits the bug (for example on gcc231):
[...]
An OpenBSD 7 machine, and this is due to the fact that %n is
no longer supported by the system *printf functions, so that
GMP uses __gmp_replacement_vsnprintf.
See
Hi,
here is a small program that exhibits the bug (for example on gcc231):
gcc231$ cat bug.c
#include
#include
#include
static void
foo (char **buf, const char *fmt, ...)
{
va_list ap;
va_start (ap, fmt);
gmp_vasprintf (buf, fmt, ap);
va_end (ap);
}
int
main (int argc, char
Hi,
it appears the value of c3 before the call mpf_sqrt() is negative,
and mpf_sqrt() does not allow negative inputs.
Best regards,
Paul Zimmermann
> From: "posihydr"
> Date: Sat, 19 Aug 2023 21:50:37 +0800
>
>
> [1:text/plain Hide]
>
> A description of the problem:
> The problem
10 matches
Mail list logo