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

Torbjorn Granlund tg at gmplib.org
Thu Jan 2 10:18:45 UTC 2014


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

  On Fri, 27 Dec 2013, Niels Möller wrote:
  
  > Marc Glisse <marc.glisse at inria.fr> writes:
  >
  >> Then I am considering pushing the attached patch soon.
  >
  > Do we really need a configure test?
  
  No idea. It seemed safer, and since we already have fallback code...
  On the other hand, mini-gmp seems happy enough with <limits.h>.
  
  If we really want to assume limits.h exists and works, there is more
  cleanup that can be done in gmp-impl.h (remove the fallback code for
  INT_MAX etc).

Let's make sure either is made before 5.2.

Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list