Hello,
The latest version of cython-devel, 1627:d9e7d28e9045, doesn't compile
for me, failing with a syntax error in one of the generated files. I
get the same error from 1620 on. Here's the end of the traceback:
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/home
creating build/temp.linux-i686-2.5/home/hoytak
creating build/temp.linux-i686-2.5/home/hoytak/sysroot
creating build/temp.linux-i686-2.5/home/hoytak/sysroot/src
creating build/temp.linux-i686-2.5/home/hoytak/sysroot/src/cython
creating build/temp.linux-i686-2.5/home/hoytak/sysroot/src/cython/Cython
creating build/temp.linux-i686-2.5/home/hoytak/sysroot/src/cython/Cython/Plex
gcc -pthread -pg -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/home/hoytak/sysroot/include/python2.5 -c
/home/hoytak/sysroot/src/cython/Cython/Plex/Scanners.c -o
build/temp.linux-i686-2.5/home/hoytak/sysroot/src/cython/Cython/Plex/Scanners.o
/home/hoytak/sysroot/src/cython/Cython/Plex/Scanners.c:7747: error:
expected identifier or '(' before numeric constant
error: command 'gcc' failed with exit status 1
The culprit is some sort of comment snippet (?) ( "2) */", 4th line in):
static void __pyx_init_filenames(void) {
__pyx_f = __pyx_filenames;
}
2) */
static void __Pyx_RaiseDoubleKeywordsError(
const char* func_name,
PyObject* kw_name)
{
PyErr_Format(PyExc_TypeError,
#if PY_MAJOR_VERSION >= 3
"%s() got multiple values for keyword argument '%U'",
func_name, kw_name);
#else
"%s() got multiple values for keyword argument '%s'", func_name,
PyString_AS_STRING(kw_name));
#endif
}
I'm sure one of you can fix it in an few seconds...
--Hoyt
++++++++++++++++++++++++++++++++++++++++++++++++
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ [email protected]
++++++++++++++++++++++++++++++++++++++++++
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev