gcc warns of unused variables in module initialization
Bug #218364 reported by
Jacques Frechet
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.