[Cython] Function signature does not match previous declaration
Carl Witty
cwitty at newtonlabs.com
Tue Jul 8 21:18:38 CEST 2008
On Tue, Jul 8, 2008 at 11:45 AM, Johannes Wienke <languitar at semipol.de> wrote:
> Ok, nevertheless I use the approach with the pxi files for all other
> modules and definitions in my program and only Gimage.pxi generates
> these warnings. Furthermore only some of the functions have those
> warnings, not all in the file.
I suspect that with multiple inclusions, either iwType or iwImage (or
both) defines a "new" type each time it's loaded. So the first
declaration doesn't match the second declaration, because it's got
"different" argument types.
If you look at which functions have warnings: is it, perhaps, only the
functions that take an argument of type iwType? If not, is there some
other pattern of that sort in which functions have warnings?
Carl
More information about the Cython-dev
mailing list