This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rptownsend
Recipients
Date 2004-08-12.15:55:15
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 14:24:58adminlinkissue1005737 messages
2007-08-23 14:24:58admincreate

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant