Ticket #26 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Cython doesn't catch double declaration with args

Reported by: robertwb Owned by: somebody
Priority: major Milestone:
Component: Parsing Keywords:
Cc:

Description

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$ 

Attachments

bug2.pyx Download (51 bytes) - added by robertwb 5 years ago.

Change History

Changed 5 years ago by robertwb

Changed 5 years ago by robertwb

  • status changed from new to closed
  • resolution set to fixed

Changed 5 years ago by robertwb

  • component changed from Packaging to Parsing

Changed 5 years ago by robertwb

  • cc pbdkayu removed
  • keywords 01641757 removed
Note: See TracTickets for help on using tickets.