[Pyrex] Incompatibility going from Pyrex 0.9.3 Pyrex 0.9.4.1
Parsifal Herzog
parsifal.herzog at gmail.com
Wed Sep 20 00:36:11 UTC 2006
I have tried to recomple with Pyrex 0.9.4.1, a program that (AFAIK) did
compile with Pyrex 0.9.3., but now I get:
[parz at lobsang tcc]$ make
pyrexc pytcc.pyx
/home/parz/py/tcc/pytcc.pyx:112:17: Syntax error in C variable
declaration
make: *** [pytcc.c] Error 1
I have not attached the whole source code file (I am not sure if this
list permits attachments), but the Pyrex code arount the line (112) in
the message is:
---------------
[Near beginning of the file]
cdef extern from "stdarg.h":
pass
[Other code]
cdef object _list(voidptr o1, ...):
if o1 == 0:
return []
l = [<object>o1]
cdef va_list ap <--- line 112
cdef voidptr oi
va_start(ap, o1)
oi = va_arg(ap, voidptr)
while oi != 0:
l.append(<object>oi)
oi = va_arg(ap, voidptr)
va_end(ap)
return l
--------------
What is wrong/has changed?
--
Walt Kelly
More information about the Pyrex
mailing list