[Pyrex] ANN: Pyrex 0.9.4 - LValue Casts are Dead!
Atsuo Ishimoto
ishimoto at gembook.org
Tue Apr 18 12:43:46 CEST 2006
On Mon, 17 Apr 2006 12:35:14 +1200
Greg Ewing wrote:
> Pyrex 0.9.4 is now available:
Thank you very much.
I did some C++ test, and found following Pyrex code could not be
compiled with g++ 3.4.4.
-------------------------------------------
cdef class C1:
pass
cdef class C2:
cdef C1 c1
def __init__(self, arg):
self.c1 = arg
-------------------------------------------
results
a.c: In function `int __pyx_f_1a_2C2___init__(PyObject*, PyObject*, PyObject*)':
a.c:76: error: cannot convert `PyObject*' to `__pyx_obj_1a_C1*' in assignment
Regards,
--------------------------
Atsuo Ishimoto
ishimoto at gembook.org
Homepage:http://www.gembook.jp
More information about the Pyrex
mailing list