Ticket #4652 enhancement closed fixed
cfsupport.c does not build with clang (because it was generated with an old and cruddy version of pyrex)
| Reported by: | glyph | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | branches/python-cfreactor-4652 | |
| Author: | glyph | Launchpad Bug: |
Description
on Snow Leopard:
$ CC=clang python setup.py build_ext running build_ext ... twisted/internet/cfsupport/cfsupport.c:128:4: error: assignment to cast is illegal, lvalue casts are not supported ((PyObject*)__pyx_v_socket) = Py_None; Py_INCREF(((PyObject*)__pyx_v_socket)); ~^~~~~~~~~~~~~~~~~~~~~~~~~~ ~ twisted/internet/cfsupport/cfsupport.c:134:4: error: assignment to cast is illegal, lvalue casts are not supported ((PyObject *)__pyx_v_socket) = __pyx_1; ~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ twisted/internet/cfsupport/cfsupport.c:829:4: error: assignment to cast is illegal, lvalue casts are not supported ((PyObject*)__pyx_v_obj) = Py_None; Py_INCREF(((PyObject*)__pyx_v_obj)); ~^~~~~~~~~~~~~~~~~~~~~~~ ~ twisted/internet/cfsupport/cfsupport.c:835:4: error: assignment to cast is illegal, lvalue casts are not supported ((PyObject *)__pyx_v_obj) = __pyx_1; ~^~~~~~~~~~~~~~~~~~~~~~~~ ~ 4 errors generated.
Change History
Note: See
TracTickets for help on using
tickets.
