[ANN] gmpxx_mkII.h: Yet another GMP C++ Wrapper for High-Precision Calculations

Vincent Lefevre vincent at vinc17.net
Fri Oct 11 12:33:00 CEST 2024


On 2024-10-11 12:11:14 +0200, Torbjorn Granlund wrote:
> GMP is made available under the GPL.  Anything that is linked to GMP,
> even if it is through some "wrapper", needs to adhere to the freedoms
> and restrictions which GPL mandated.
> 
> Even if you put many libraries or "wrappers" in a chain of dependencies,
> if GMP (or any other library under any other license) is pulled in, then
> its license is relevant to the resulting binary.

This is true for any software that uses GMP. Currently, MPFR doesn't
warn about that. But if I understand you, we should. This currently
doesn't have any consequence since GMP has a license compatible with
MPFR's, but imagine that one day GMP switches to LGPLv4+ (if it comes
out). Then this would affect MPFR (if still under LGPLv3+).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the gmp-discuss mailing list