robertwb / issues-import-test

0 stars 0 forks source link

Cython doesn't catch double declaration with args #52

Closed robertwb closed 8 years ago

robertwb commented 8 years ago

Reported by robertwb on 16 Jul 2008 08:34 UTC

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$ 

Migrated-From: http://trac.cython.org/ticket/26

robertwb commented 8 years ago

Comment by robertwb on 3 Aug 2008 05:48 UTC Fixed with http://hg.cython.org/cython-devel/rev/6a8548429322

robertwb commented 8 years ago

Modified by robertwb on 14 Sep 2008 03:35 UTC

robertwb commented 8 years ago

Modified by robertwb on 14 Sep 2008 03:36 UTC