Stefan, as you know I'm always fighting against GCC warnigns.
Suddenly, this one started to show up:
compile_time_unraisable_T370.c:365: warning:
'__pyx_f_28compile_time_unraisable_T370_raiseit' defined but not used
$ cat tests/errors/compile_time_unraisable_T370.pyx
cdef int raiseit():
raise IndexError
if False: raiseit()
_ERRORS = u"""
FIXME: provide a good error message here.
"""
Inspecting the generated C code, the "if False: raiseit()" is skipped.
Is this an intended side effect of your recent work on constant folding?
--
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev