#13137: upgrade MPIR to 2.5.1
---------------------------------+------------------------------------------
Reporter: jhpalmieri | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.2
Component: packages | Resolution:
Keywords: mpir | Work issues:
Report Upstream: N/A | Reviewers:
Authors: John Palmieri | Merged in:
Dependencies: | Stopgaps:
---------------------------------+------------------------------------------
Comment (by rohana):
This causes the libm4rie test suite to fail, as well as breaks the
building of linbox (both have the same errors):
{{{
In file included from .../local/include/gmp++/gmp++.h:20:0,
from ../../linbox/integer.h:22,
from ../../linbox/randiter/abstract.h:30,
from ../../linbox/field/abstract.h:32,
from ../../linbox/field/archetype.h:42,
from ../../linbox/vector/vector-traits.h:35,
from ../../linbox/blackbox/factory.h:17,
from ../../linbox/matrix/sparse.h:54,
from ../../linbox/blackbox/sparse.h:41,
from linbox-sage.C:35:
.../local/include/gmpxx.h:1566:3: error: ‘__gmp_expr<__mpz_struct [1],
__mpz_struct [1]>::__gmp_expr(intmax_t)’ cannot be overloaded
.../local/include/gmpxx.h:1562:3: error: with ‘__gmp_expr<__mpz_struct
[1], __mpz_struct [1]>::__gmp_expr(long int)’
.../local/include/gmpxx.h:1567:3: error: ‘__gmp_expr<__mpz_struct [1],
__mpz_struct [1]>::__gmp_expr(uintmax_t)’ cannot be overloaded
.../local/include/gmpxx.h:1563:3: error: with ‘__gmp_expr<__mpz_struct
[1], __mpz_struct [1]>::__gmp_expr(long unsigned int)’
.../local/include/gmpxx.h:1635:16: error: ‘__gmp_expr<__mpz_struct [1],
__mpz_struct [1]>& __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>::operator=(intmax_t)’ cannot be overloaded
.../local/include/gmpxx.h:1629:16: error: with ‘__gmp_expr<__mpz_struct
[1], __mpz_struct [1]>& __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>::operator=(long int)’
.../local/include/gmpxx.h:1636:16: error: ‘__gmp_expr<__mpz_struct [1],
__mpz_struct [1]>& __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>::operator=(uintmax_t)’ cannot be overloaded
.../local/include/gmpxx.h:1631:16: error: with ‘__gmp_expr<__mpz_struct
[1], __mpz_struct [1]>& __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>::operator=(long unsigned int)’
.../local/include/gmpxx.h: In constructor ‘__gmp_expr<__mpz_struct [1],
__mpz_struct [1]>::__gmp_expr(intmax_t)’:
.../local/include/gmpxx.h:1566:49: error: ‘mpz_init_set_sx’ was not
declared in this scope
.../local/include/gmpxx.h: In constructor ‘__gmp_expr<__mpz_struct [1],
__mpz_struct [1]>::__gmp_expr(uintmax_t)’:
.../local/include/gmpxx.h:1567:50: error: ‘mpz_init_set_ux’ was not
declared in this scope
.../local/include/gmpxx.h: In member function ‘__gmp_expr<__mpz_struct
[1], __mpz_struct [1]>& __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>::operator=(intmax_t)’:
.../local/include/gmpxx.h:1635:56: error: ‘mpz_set_sx’ was not declared in
this scope
.../local/include/gmpxx.h: In member function ‘__gmp_expr<__mpz_struct
[1], __mpz_struct [1]>& __gmp_expr<__mpz_struct [1], __mpz_struct
[1]>::operator=(uintmax_t)’:
.../local/include/gmpxx.h:1636:57: error: ‘mpz_set_ux’ was not declared in
this scope
.../local/include/gmpxx.h: In member function ‘intmax_t
__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::get_sx() const’:
.../local/include/gmpxx.h:1677:49: error: ‘mpz_get_sx’ was not declared in
this scope
.../local/include/gmpxx.h: In member function ‘uintmax_t
__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::get_ux() const’:
.../local/include/gmpxx.h:1678:50: error: ‘mpz_get_ux’ was not declared in
this scope
}}}
There may be other issues, but I haven't encountered them yet.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13137#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.