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

Torbjörn Granlund tg at gmplib.org
Fri Oct 11 12:41:29 CEST 2024


Vincent Lefevre <vincent at vinc17.net> writes:

  > 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+).

What you should not do is release it under BSD and then say that only
the BSD license is relevant.  That would be confusing.

(For clarity, I have nothing personal against BSD license(s).  I just
want to make sure people understand these issues as not to mislead or be
misled to involuntarily breach whatever license is in force.)

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list