Am 07/08/2008 07:55 PM schrieb Carl Witty: > On Tue, Jul 8, 2008 at 9:49 AM, Johannes Wienke <[EMAIL PROTECTED]> wrote: >> 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.
I can't find any of those things in my project: This is what I can grab about thos things: [EMAIL PROTECTED] ~/BA-workspace/shIP $ grep -in "Gimage.pxi" `find . -name '*.px*'` | grep -v svn ./src/ship/icewing/preview.pxd:2:include "icewing/gui/Gimage.pxi" ./src/ship/icewing/image_utils.pxd:1:include "icewing/gui/Gimage.pxi" ./include/icewing/gui/Grender.pxi:3:include "icewing/gui/Gimage.pxi" ./include/icewing/gui/Gpreview.pxi:4:include "icewing/gui/Gimage.pxi" [EMAIL PROTECTED] ~/BA-workspace/shIP $ grep -in "Gimage.pxi" `find . -name '*.py*'` | grep -v svn ./src/ship/icewing/converters.pyx:9:include "icewing/gui/Gimage.pxi" [EMAIL PROTECTED] ~/BA-workspace/shIP $ grep -in "iw_img_new_alloc" `find . -name '*.px*'` | grep -v svn ./include/icewing/gui/Gimage.pxi:87: iwImage* iw_img_new_alloc(int width, int height, int planes, iwType type) [EMAIL PROTECTED] ~/BA-workspace/shIP $ grep -in "iw_img_new_alloc" `find . -name '*.py*'` | grep -v svn ./src/ship/icewing/converters.pyx:241: cdef iwImage *image = iw_img_new_alloc(data.size[0], - Johannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
