Issue 1007249: SGI (IRIX 6.5.24) Error building _codecs_iso2022.c (original) (raw)
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 :-(.