2013/2/15 Jake Vanderplas <
jak...@gmail.com>:
> I'm having trouble compiling a Cython script with extension types and
> overloaded inline methods. I've managed to boil the problem down to a
> minimal example which reproduces the error: it consists of a short pxd file,
> pyx file, and setup script, all shown at the end of this message. Cython
> parses the files with no problems, but gcc throws this error on the
> resulting code:
A quick look at the C code reveals the problem: the C counterpart to
test_func appears before that of Derived.func, so the latter is not
properly declared in the former. The same thing happens without the
inline declaration (Cython 0.18).
--
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam