Ticket #26 (closed defect: fixed)
Cython doesn't catch double declaration with args
|Reported by:||robertwb||Owned by:||somebody|
On Jun 19, 2008, at 2:15 PM, Jonathan Bober wrote: Thus bug is different, in that I am definitely doing something wrong. I suppose that cython should catch it before gcc does, though. bober@bober:~/cython_test$ cython bug2.pyx bober@bober:~/cython_test$ gcc -c bug2.c -I/home/bober/sage/local/include/python2.5 bug2.c: In function ‘__pyx_pf_4bug2_foo’: bug2.c:114: error: redeclaration of ‘__pyx_v_foo2’ with no linkage bug2.c:113: error: previous declaration of ‘__pyx_v_foo2’ was here bober@bober:~/cython_test$
Note: See TracTickets for help on using tickets.