[Cython] __Pyx_FinishRefcountContext() compiler warnings

Jason Evans jasone at canonware.com
Sat Feb 21 18:13:52 CET 2009


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)

Jason


More information about the Cython-dev mailing list