gmp 4.3.0: minor bug with gmp_version

Marc Glisse marc.glisse at normalesup.org
Sun Apr 26 10:06:40 CEST 2009


On Sun, 26 Apr 2009, Paul Zimmermann wrote:

> By the way it is a good idea in any application using GMP to check that
> gmp_version (from libgmp) matches GNU_MP_VERSION (from gmp.h). Maybe GMP
> itself could provide a function doing that check?

By "matches" you mean the major version is the same, the minor version is 
at least as large in gmp_version, and we ignore the patch level?

My experience with this kind of check is that they never helped me but 
several times prevented me from doing things I knew were fine. However, 
YMMV.

-- 
Marc Glisse


More information about the gmp-bugs mailing list