[Numpy-discussion] add NPY_UNUSED to _import_{array|umath}

Lisandro Dalcin dalcinl@gmail....
Wed Aug 18 14:12:35 CDT 2010

When using gcc -Wall, the warnings below are common when including
NumPy headers (e.g. Cython testsuite)

warning: ‘_import_array’ defined but not used
warning: ‘_import_umath’ defined but not used

Any chance these functions could be decorated with the NPY_UNUSED() macro ?

Lisandro Dalcin
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169

More information about the NumPy-Discussion mailing list