Dear all, While trying to upgrade MPIR in Sage, we got problems building Linbox on top of MPIR > 2.5.x, including MPIR 2.6.0. You can see the discussion at http://trac.sagemath.org/sage_trac/ticket/13137
The problem seems to be with the C++ version of mpz_get_[s|u]x which now get defined in gmpxx.h depending on the previous inclusion of stdint.h, which Linbox seems to include, and which makes the intmax_t et al. types available if I understand correctly. These C++ functions just call their C counterparts which are prototyped (and used to be in 2.4.x as well) in mpir.h, depending on the same condition. But somehow gcc complains that mpz_get_[s|u]x do not exist... So now I'm confused on what goes wrong here. And if I prevent the C++ member functions to be defined in gmpxx.h, the problem disappears. In particular, Linbox does not use them, which provides a dirty workaround for the time being. Cheers, JP -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To view this discussion on the web visit https://groups.google.com/d/msg/mpir-devel/-/6jxX8b0HaNEJ. To post to this group, send email to mpir-devel@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.