[Cython] GCC, warning ‘__Pyx_Print’ defined but not used (Python 2.X)
Lisandro Dalcin
dalcinl at gmail.com
Fri Mar 6 21:20:25 CET 2009
On Fri, Mar 6, 2009 at 6:11 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
>
> The whole point of PrintOne was to avoid the overhead of calling
> Print.
Robert, I believe some times we complicate implementations too much
for the sake of optimization... :-)
> If we call it after we return, or "if (0) __Pyx_Print(...)",
> does that get rid of the warning even though it's optimized away?
>
OK, I'll push that as a quick fix, getting those warnings when running
the testsuite is really annoying
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the Cython-dev
mailing list