[Pyrex] Patch for C++ and warning reduction
Lenard Lindstrom
len-l at telus.net
Tue Nov 1 23:44:58 CET 2005
The second Pyrex 0.9.3.1 patch for C++ support is now available at
the Pyrex web site. Combined with the first patch it is intended to
allow any Pyrex program to compile with C++. Used by itself it
reduces the number of C compiler warnings and removes an lvalue cast
involving cdef'd extension type attributes of extension types.
This patch is preliminary. But it has been validated on the Pyrex
test suite, both with C and C++. As with the first patch, this patch
does not handle issues such as C++ exceptions. That will require a
special Pyrex C++ mode and Pyrex language extensions.
A final note regarding the accompanying readme file. The patch
command line should be
patch -c -i revised_casting.patch
It assumes the file revised_casting.patch is also in the
Pyrex/Compiler directory.
Enjoy.
Lenard Lindstrom
<len-l at telus.net>
More information about the Pyrex
mailing list