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. G

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 uint_least32_