[Cython] Function signature does not match previous declaration
Johannes Wienke
languitar at semipol.de
Tue Jul 8 21:41:08 CEST 2008
Am 07/08/2008 09:18 PM schrieb Carl Witty:
> 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?
It seems that all functions, that use mapped enums are the problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://codespeak.net/pipermail/cython-dev/attachments/20080708/b76c5dbb/attachment-0001.pgp
More information about the Cython-dev
mailing list