gcc warns of unused variables in module initialization

Bug #218364 reported by Jacques Frechet
2
Affects Status Importance Assigned to Milestone
Cython
New
Undecided
Unassigned

Bug Description

I create foo.pyx containing either or both of the following statements:

  cdef double INFINITY = float('inf')
  assert True

I build it using Cython 0.9.6.13.1 and gcc 4.1.3. The build succeeds and the code works, but gcc issues the following warning:

  foo.c: In function ‘initfoo’:
  foo.c:130: warning: unused variable ‘__pyx_4’
  foo.c:129: warning: unused variable ‘__pyx_3’

I see no such warnings when building the same code under Cython 0.9.6.12.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.