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 mhertha
Recipients
Date 2004-08-11.13:11:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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 :-(.
History
Date User Action Args
2007-08-23 14:25:02adminlinkissue1007249 messages
2007-08-23 14:25:02admincreate

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