After hg update'd cython-devel, and now the code below generates a
compiler error:
cdef extern from "compat.h":
pass
^
------------------------------------------------------------
/u/dalcinl/Devel/petsc4py-dev/src/PETSc/PETSc.pyx:67:4: Expected an
identifier, found 'pass'
IIRC, that is a documented way to force inclusion of C headers... What
this intentional? BTW... "tests/broken/cdefexternempty.pyx" has a
tescase for this... For some reason, it never got promoted as a
working test...
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev