Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Compiler Error for TclObj.c on HP11i

Closed / Fixed1215775fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-06 15:47:41
Get following errors when compiling on HPUX 11i using cc.


cc: "../generic/tclObj.c", line 1430: error 1654:
Expression type is too large for switch expression.
cc: "../generic/tclObj.c", line 1431: error 1653: Case
label too big for the type of the switch expression
cc: "../generic/tclObj.c", line 1431: error 1653: Case
label too big for the type of the switch expression
cc: "../generic/tclObj.c", line 3000: warning 562:
Redeclaration of "UpdateStringOfBignum" with a
different storage class specifier:
"UpdateStringOfBignum" will have internal linkage.
*** Error exit code 1
silpheedplain2005-06-06 22:47:43
File Added - 137446: config.log
silpheedplain2005-06-06 22:58:49
Logged In: YES 
user_id=963204

HP compiler does not like the Wide in the switch. I changed
to an if statement and it compiled away.
kennykbplain2005-06-07 02:56:01
Logged In: YES 
user_id=99768

My bad.
kennykbplain2005-06-07 04:06:42
Logged In: YES 
user_id=99768

Replaced the 'switch' with an 'if', and added the missing
'static'
on UpdateStringOfBignum.
Log in (anonymous is fine) to add a comment.

Attachments: