On Saturday 10 March 2007, Greg Ewing wrote:
> I'm wondering whether something here should really be using
> uintptr_t instead of intptr_t. Does it work if you use
> 
>    ctypedef unsigned long intptr_t
> 
> instead?
> 
> --
> Greg

I have tested it with unsigned long and everything works fine. The patch to be 
applied is attached. However, Soya still doesn't compile with Pyrex 0.9.5.1a.

Jan


-- 

Jan Ciger
GPG public key: http://www.keyserver.net/

--- Soya-0.13/c.pxd	2006-07-11 22:06:18.000000000 +0200
+++ Soya-0.13-patch/c.pxd	2007-03-10 19:50:11.000000000 +0100
@@ -39,4 +39,4 @@
 	float floor (float x)
 
 cdef extern from "stdint.h":
-	ctypedef long intptr_t
+	ctypedef unsigned long intptr_t

Attachment: pgpAcyjSFFyoM.pgp
Description: PGP signature

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to