Message22019
Logged In: YES
user_id=200117
I did a fresh install of Python-2.2a2 and applied your new
patch, but I'm still getting compile errors for line 200:
building '_codecs_iso2022' extension
cc -Ae -DNDEBUG +O2 -z +Onofltacc +ESlit +Oentrysched
+Odataprefetch +Onolimit +DA2.0 +Z -I. -
I/home/richardt/python-24/Python-2.4a2/./Include -
I/opt/python/include -I/usr/local/include -
I/home/richardt/python-24/Python-2.4a2/Include -
I/home/richardt/python-24/Python-2.4a2 -
c /home/richardt/python-24/Python-
2.4a2/Modules/cjkcodecs/_codecs_iso2022.c -o
build/temp.hp-ux-B.11.11-9000/785-2.4/_codecs_iso2022.o
cc: "/home/richardt/python-24/Python-
2.4a2/Modules/cjkcodecs/_codecs_iso2022.c", line 200: error
1521: Incorrect initialization.
cc: "/home/richardt/python-24/Python-
2.4a2/Modules/cjkcodecs/_codecs_iso2022.c", line 200: error
1521: Incorrect initialization.
Here are lines 198-203 after applying the patch
#if Py_UNICODE_SIZE == 2
if (length == 2) {
ucs4_t u4in
[2] = {(ucs4_t)IN1, (ucs4_t)IN2};
encoded =
dsg->encoder(u4in, &length);
} else
encoded =
dsg->encoder(&c, &length);
One of my collegues says that you can't initialise one variable
with another variable, when using the cc compiler.
|
|
| Date |
User |
Action |
Args |
| 2007-08-23 14:24:58 | admin | link | issue1005737 messages |
| 2007-08-23 14:24:58 | admin | create | |
|