A "(void)0" shoud also do the trick, right?

On Sat, Feb 21, 2009 at 2:29 PM, Dag Sverre Seljebotn
<[email protected]> wrote:
> Jason Evans wrote:
>> The following line in ModuleNode.py causes hundreds of compiler warnings
>> about statements with no effect when I compile Crux:
>>
>>       #define __Pyx_FinishRefcountContext() 0
>>
>> IMO, the 0 should simply be removed, but this would also be okay if you
>> want a non-empty definition:
>>
>>       #define __Pyx_FinishRefcountContext() do {} while (0)
>>
>
> Ahh, right. Thanks!
>
> http://hg.cython.org/cython-devel/rev/b5723a7a044a
>
>
> --
> Dag Sverre
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>



-- 
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
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to