> On 16 Nov 2020, at 10:53, Torbjörn Granlund wrote:
>
> Vincent Lefevre writes:
>
> So, including if present should be sufficient, and
> this is what the above code does.
>
> That said, for C99 implementations, the #if tests would be useless,
> so that the above code is also designed
Vincent Lefevre writes:
So, including if present should be sufficient, and
this is what the above code does.
That said, for C99 implementations, the #if tests would be useless,
so that the above code is also designed for non-C99 implementations,
which may have and with a behavior
> 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.
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
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