On Tue, Jul 8, 2008 at 9:49 AM, Johannes Wienke <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got one header file in my project, that raises a lot of "Function
> signature does not match previous declaration" warnings but I don't know
> why, especially because everything works. One warning e. g. is this one:
>
> warning: include/icewing/gui/Gimage.pxi:87:11: Function signature does
> not match previous declaration
>
> Line 87 in that file is:
> iwImage* iw_img_new_alloc(int width, int height, int planes, iwType type)
...

This warning does not mean that the Cython declaration doesn't match
the C declaration (Cython knows nothing about the C declaration).
Instead, it means that there are two Cython declarations that don't
match.  Search all your .pxd and .pxi files for another declaration of
iw_img_new_alloc; also, make sure that Gimage.pxi is not included
multiple times.

Carl
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to