binary compatibility

Torbjorn Granlund tg at
Fri Jan 8 17:33:17 CET 2010

Paolo Bonzini <bonzini at> writes:

  I also noticed that GMP 5 is using an interface "age" of 6.  This is
  wrong since interface 9 is not backwards compatible with interface
  8. The fact that mpn_bdivmod was documented as mutable does not
  matter: distributions will want to provide and
  for a while, and this is not possible if GMP 5 says it is binary
  compatible with 4.3.2.

  I suggest that the attached patch is applied before distributions
  start to complain.

We consider mpn_bdivmod is not part of the official API of any GMP
release.  Therefore, we did not zero age.  This was a deliberate


More information about the gmp-discuss mailing list