Re: GMP bootstrap fails with Autoconf 2.69d

2020-11-15 Thread Vincent Lefevre
On 2020-11-15 23:49:10 +0100, Hans Ã…berg wrote: > One can also have an additional URL argument, which defines a variable > PACKAGE_URL: > > AC_INIT(GNU MP, GMP_VERSION, [gmp-bugs@gmplib.org (see > https://gmplib.org/manual/Reporting-Bugs.html)], gmp, [https://gmplib.org/]) If I understand

Re: uint_least32_t is in stdint.h not in inttypes.h

2020-11-15 Thread Felix von Leitner
> But ISO C99 says: > 7.8 Format conversion of integer types > The header includes the header [...] > So, including if present should be sufficient, and > this is what the above code does. Oh NICE that means I got a bugfix for my code out of this, too. Thanks! :-) Godspeed, Vincent.

Re: uint_least32_t is in stdint.h not in inttypes.h

2020-11-15 Thread Vincent Lefevre
On 2020-11-15 22:21:18 +0100, Felix von Leitner wrote: > I was trying to compile gmp with my libc, dietlibc, and got an error > that uint_least32_t is not defined. > > Well, it is defined, and as far as I can tell in the right header file, > too: stdint.h. > > However, gmp-impl.h reads as

Re: GMP bootstrap fails with Autoconf 2.69d

2020-11-15 Thread Marc Glisse
On Wed, 11 Nov 2020, Paul Eggert wrote: The Autoconf manual has long said that the 3rd argument of AC_INIT must be an email address. Which is a bad idea, we don't want people blindly sending an email, we want them to read instructions first. A URL makes more sense. To fix the problem, I

uint_least32_t is in stdint.h not in inttypes.h

2020-11-15 Thread Felix von Leitner
Dear gmp team, I was trying to compile gmp with my libc, dietlibc, and got an error that uint_least32_t is not defined. Well, it is defined, and as far as I can tell in the right header file, too: stdint.h. However, gmp-impl.h reads as follows: 155 #if HAVE_INTTYPES_H /* for

GMP bootstrap fails with Autoconf 2.69d

2020-11-15 Thread Paul Eggert
Autoconf 2.70 is about to be released, and some people have been using prereleases to build lots of GNU packages. They've run into a problem with GMP, though, because GMP uses AC_INIT in a way contrary to the Autoconf manual, and changes in Autoconf mean that GMP's "./.bootstrap" procedure