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)
iwImage and iwType are defined like this:
ctypedef struct iwImage:
guchar **data
int planes
iwType type
int width, height
int rowstride
iwColtab ctab
void *reserved
ctypedef enum iwType:
IW_8U
IW_16U
IW_32S
IW_FLOAT
IW_DOUBLE
The original definitions in the header file look like this:
typedef struct iwImage {
guchar **data;
int planes;
iwType type;
int width, height;
int rowstride;
iwColtab ctab;
void *reserved;
} iwImage;
typedef enum {
IW_8U,
IW_16U,
IW_32S,
IW_FLOAT,
IW_DOUBLE
} iwType;
iwImage* iw_img_new_alloc (int width, int height, int planes, iwType type);
Has anyone got an idea why cython generates these warnings?
Thanks for the help!
Johannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
