uint_least32_t is in stdint.h not in inttypes.h

Felix von Leitner felix-gmplib at fefe.de
Sun Nov 15 22:33:57 UTC 2020


> But ISO C99 says:

>   7.8 Format conversion of integer types <inttypes.h>

>   The header <inttypes.h> includes the header <stdint.h> [...]

> So, including <inttypes.h> 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. GMP is awesome.

Felix


More information about the gmp-bugs mailing list