Hi,

Lisandro Dalcin wrote:
> Just to prevent this:
> warning: ISO C forbids conversion of function pointer to object pointer type

with this patch applied, I now get a warning on this line:

    p = *(void **)&f;

src/lxml/lxml.etree.c: In function '__Pyx_ExportFunction':


src/lxml/lxml.etree.c:148416: warning: dereferencing type-punned pointer
will break strict-aliasing rules


This needs fixing, I guess. That said, I'm more in favour of enabling clean
strict-aliasing than to be strictly C89 compliant, unless we can have both. :)

Stefan

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

Reply via email to