[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#707347: sage build failure



Hi there.

trying to compile/package sagelib (the core library of the sagemath project) i
am running into a similar issue.

upstream ppl might have already resolved this. from ppl.hh:
/*
  [..]
  \note
  The PPL provides the specializations of the class template
  <CODE>numeric_limits</CODE> not only for PPL-specific numeric types,
  but also for the GMP types <CODE>mpz_class</CODE> and
  <CODE>mpq_class</CODE>. These specializations will be removed
  as soon as they will be provided by the C++ interface of GMP.
 */

If you dont intend to pull in a new ppl release: for me it worked to simply
enclose the two "template <> class numeric_limits<mp{q,z}_class> { [..] };"
prototypes into "#ifndef __GMP_PLUSPLUS__ .. #endif". I'd highly appreciate a
working package...

thank you
felix


Reply to: