On Dec 1, 2:17 pm, mabshoff <[EMAIL PROTECTED]
dortmund.de> wrote:
> Robert,
>
> look at the following from devel/sage/sage/rings/integer_mod.pxd:
>
> cdef extern from "stdint.h":
>     ctypedef int int_fast32_t
>     ctypedef int int_fast64_t

As Carl Witty pointed out to me in IRC this means that cython should
treat int_fast64_t like an int, so this isn't a typedef.

>     int_fast32_t INTEGER_MOD_INT32_LIMIT
>     int_fast64_t INTEGER_MOD_INT64_LIMIT
>
> That certainly looks very, very wrong. I will change that to long long
> for Solaris 32 bit and see what breaks ;)
>

It didn't help, but Carl also found out that we defined int_fast64_t
as a long in some stdint.h workaround. I did change that and am
recompiling. The code was written by William, so I am going to blame
him for it, even though I probably suggested it ;)

> Cheers,
>
> Michael

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to