[PATCH] support for mingw-w64
tg at gmplib.org
Sat Sep 12 00:37:01 CEST 2009
Vincent Lefevre <vincent at vinc17.org> writes:
On 2009-09-11 14:05:17 +0200, Torbjorn Granlund wrote:
> My undertanding is that sizeof(ptrdiff_t) == sizeof(size_t) should hold
> true on any ISO C90 or C99 system. They only differ in signedness.
This is not guaranteed by the standard. This has the drawback
that the subtraction of pointers may be wrong in some rare cases.
So, for very specific applications, there might be a good reason
to have sizeof(ptrdiff_t) > sizeof(size_t).
More on this subject:
Interesting, but fortunately not relevant to the GMP issue we're
More information about the gmp-devel