[ python-Bugs-1007249 ] SGI (IRIX 6.5.24) Error building _codecs_iso2022.c

SourceForge.net noreply at sourceforge.net
Thu Aug 12 15:05:16 CEST 2004


Bugs item #1007249, was opened at 2004-08-11 22:11
Message generated for change (Comment added) made by perky
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1007249&group_id=5470

Category: Build
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Maik Hertha (mhertha)
Assigned to: Nobody/Anonymous (nobody)
Summary: SGI (IRIX 6.5.24) Error building _codecs_iso2022.c

Initial Comment:
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 :-(.

----------------------------------------------------------------------

>Comment By: Hye-Shik Chang (perky)
Date: 2004-08-12 22:05

Message:
Logged In: YES 
user_id=55188

Would you test a patch attached in Bug #1005737?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1007249&group_id=5470


More information about the Python-bugs-list mailing list