tclZlib.c fails to compile with MIPSPro
Closed / Fixed3590483fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2012-11-27 21:40:07
cc -version
MIPSpro Compilers: Version 7.3.1.3m
tclZlib.c
cc-1028 cc: ERROR File = /home/dgp/src/tcl8.6.0/generic/tclZlib.c, Line = 2188
The expression used must have a constant value.
{ "-dictionary", &compDictObj },
^
cc-1028 cc: ERROR File = /home/dgp/src/tcl8.6.0/generic/tclZlib.c, Line = 2189
The expression used must have a constant value.
{ "-level", &levelObj },
^
cc-1028 cc: ERROR File = /home/dgp/src/tcl8.6.0/generic/tclZlib.c, Line = 2193
The expression used must have a constant value.
{ "-header", &gzipHeaderObj },
^
cc-1028 cc: ERROR File = /home/dgp/src/tcl8.6.0/generic/tclZlib.c, Line = 2194
The expression used must have a constant value.
{ "-level", &levelObj },
^
cc-1028 cc: ERROR File = /home/dgp/src/tcl8.6.0/generic/tclZlib.c, Line = 2198
The expression used must have a constant value.
{ "-dictionary", &compDictObj },
^
5 errors detected in the compilation of "/home/dgp/src/tcl8.6.0/generic/tclZlib.c".
dkfplain2012-11-28 07:07:29
allow_comments - 1 Found a way to express that with constant tables and only... minimal macro magic.
dgpplain2012-11-28 09:58:22
Thanks! It does now compile.
Now the less important remaining problem is
warnings like so:
tclZlib.c
cc-1185 cc: WARNING File = /home/dgp/src/tcl8.6.0/generic/tclZlib.c, Line = 2196
An enumerated type is mixed with another type.
{ NULL, 0 }
Log in (anonymous is fine) to add a comment.