Issue1007249
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.
Created on 2004-08-11 13:11 by mhertha, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Files | ||||
---|---|---|---|---|
File name | Uploaded | Description | Edit | |
_codecs_iso2022.c_sgi_diff | mhertha, 2004-09-02 06:22 | Changes for SGI MipsPro Compilers. |
Messages (4) | |||
---|---|---|---|
msg22048 - (view) | Author: Maik Hertha (mhertha) | Date: 2004-08-11 13:11 | |
This bug report is similar to #1005737 only a different platform. MIPSpro Compilers: Version 7.3.1.3m Error message: --- start cc-1028 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 200 The expression used must have a constant value. ucs4_t u4in[2] = {IN1, IN2}; ^ cc-1028 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 200 The expression used must have a constant value. ucs4_t u4in[2] = {IN1, IN2}; ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1053 There are too many initializers for a declared aggregate. { REGISTRY_KSX1001, REGISTRY_SENTINEL }, ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1058 There are too many initializers for a declared aggregate. { REGISTRY_JISX0208, REGISTRY_JISX0201_R, REGISTRY_JISX0208_O, ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1064 There are too many initializers for a declared aggregate. { REGISTRY_JISX0208, REGISTRY_JISX0212, REGISTRY_JISX0201_R, ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1070 There are too many initializers for a declared aggregate. { REGISTRY_JISX0208, REGISTRY_JISX0212, REGISTRY_KSX1001, ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1077 There are too many initializers for a declared aggregate. { REGISTRY_JISX0213_2004_1_PAIRONLY, REGISTRY_JISX0208, ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1084 There are too many initializers for a declared aggregate. { REGISTRY_JISX0213_2000_1_PAIRONLY, REGISTRY_JISX0208, ^ cc-1142 cc: ERROR File = /usr2/src/lang/python/Python-2.4a2/Modules/cjkcodecs/_codecs_iso2022.c, Line = 1091 There are too many initializers for a declared aggregate. { REGISTRY_JISX0208, REGISTRY_JISX0212, REGISTRY_JISX0201_R, ^ --- end The manpage for cc describes the differences between gcc and mipspro: .... * The gcc compiler is more lax about accepting non-static initializers, extra parentheses, and the use of non-compile-time constants. The MIPSpro compilers adhere more closely to the ANSI standard. .... I found no compiler-option to solve this for the MipsPro compiler. Seems to be a hard work to solve this :-(. |
|||
msg22049 - (view) | Author: Hyeshik Chang (hyeshik.chang) * | Date: 2004-08-12 13:05 | |
Logged In: YES user_id=55188 Would you test a patch attached in Bug #1005737? |
|||
msg22050 - (view) | Author: Hyeshik Chang (hyeshik.chang) * | Date: 2004-08-19 17:58 | |
Logged In: YES user_id=55188 I think the error should be fixed in CVS now. If you still have a problem to compile it, please give me another comment. |
|||
msg22051 - (view) | Author: Maik Hertha (mhertha) | Date: 2004-09-02 06:20 | |
Logged In: YES user_id=768223 The Patch doen't work complete. As the problem was easier :-) I could solve it. Enclosed the patch for SGI MipsPro compilers. It is diff'ed against the patched Modules/cjkcodecs/_codecs_iso2022.c. Sorry for the delayed response. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:06 | admin | set | github: 40745 |
2004-08-11 13:11:08 | mhertha | create |