On 2015-06-11 12:35, 'Bill Hart' via mpir-devel wrote:
One potential solution would be to have configure substitute macros in
gmp-h.in when creating mpir/gmp.h. But this doesn't
work when cross compiling.
I don't quite understand why this doesn't work. I think this is the best solution.

The problem is that mpir-2.7.0.alpha13 breaks when compiling giac:

In file included from first.h:247:0,
                 from input_lexer.ll:51:
/usr/local/src/sage-config/local/include/gmp.h:1232:2: error: ‘uintmax_t’ does not name a type
 __GMP_DECLSPEC uintmax_t mpz_get_ux __GMP_PROTO ((mpz_srcptr));
  ^

It seems that UINT32_MAX is defined (I don't know why though), but that stdint.h is not included.

--
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mpir-devel+unsubscr...@googlegroups.com.
To post to this group, send email to mpir-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/mpir-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to