I checked in a number of minor changes this evening to correct various
problems compiling Python with a C++ compiler, in my case Apple's version of
g++ 4.0. I'm stuck on Modules/_sre.c though. After applying this change:
Index: Modules/_sre.c
On Tuesday 18 April 2006 11:27, [EMAIL PROTECTED] wrote:
During the 16-bit pass, SRE_CHAR expands to Py_UNICODE, so the call
to sre_literal_template is incorrect. Any ideas how to fix things?
I thought (but haven't had time to test) that making getstring return
a union that's either SRE_CHAR*
[EMAIL PROTECTED] wrote:
if (b == 1) {
-literal = sre_literal_template(ptr, n);
+ literal = sre_literal_template((SRE_CHAR *)ptr, n);
} else {
#if defined(HAVE_UNICODE)
-literal = sre_uliteral_template(ptr, n);
+