[Pyrex] Patches to remove some compiler warnings

David M. Cooke cookedm at physics.mcmaster.ca
Thu Oct 13 18:25:35 CEST 2005


I've attached two patches to clean up a bunch of compiler warnings on
generated Pyrex code (at least from gcc).

01-fix-unused-variables.patch removes declaring 'e' and 'p' in most
places where they're not used (there's still one or two places it
misses).

02-emit-only-used-labels.patch only adds labels that are actually used.

These are both against 0.9.3.1.

cheers!

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-fix-unused-variables.patch
Type: text/x-patch
Size: 2260 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20051013/e68e9801/01-fix-unused-variables.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-emit-only-used-labels.patch
Type: text/x-patch
Size: 5873 bytes
Desc: not available
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20051013/e68e9801/02-emit-only-used-labels.bin


More information about the Pyrex mailing list