Including <limits.h> in gmp-impl.h

Torbjorn Granlund tg at gmplib.org
Fri Dec 27 13:38:21 UTC 2013


Marc Glisse <marc.glisse at inria.fr> writes:

  I couldn't find anything other than the -mcpu=ultrasparc ABI=32 issue
  with gcc-2.9x around 1999-2000.

I haven't looked deeply into this issue, but to me it seems strange that
we define INT_MAX etc ourselves.

I think we might trust limits.h these days.  If a 15 year old system
then gets desupported, too bad.

Alternatively (or in some combo) we could define and use GMP_INT_MAX
(etc).

Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list