INT_MAX definition in gmp-impl.h conflicts with limits.h

Torbjorn Granlund tg at
Wed Nov 23 14:48:32 CET 2011

Marc Glisse <marc.glisse at> writes:

  For now we could work around the problem by including tests.h before
  gmp-impl.h, and postpone thinking about this until that breaks
  too. But I wanted to check if you had a better idea.


I support ugly hacks in the GMP test suite, while we of course want to
keep the GMP lib code as clean as possible...


More information about the gmp-bugs mailing list