[PATCH] support for mingw-w64

Niels Möller nisse at lysator.liu.se
Fri Sep 11 11:57:38 CEST 2009


Torbjorn Granlund <tg at gmplib.org> writes:

> * We unfortunately cannot use intptr_t unconditionally, since it is not
>   available everywhere we want GMP to work; it is a C99 feature.
>
>   I wonder if size_t could be used instead?  While perhaps not elegant,
>   it should work.  Does anybody see any problem?

Another alternative is ptrdiff_t. My understanding is that this is
fairly portable in both theory and practice.

/Niels


More information about the gmp-devel mailing list