Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-06-07
04:06 • Closed ticket [1215775fff]: Compiler Error for TclObj.c on HP11i plus 7 othe... artifact: 0b24221ece user: kennykb
02:56 • Ticket [1215775fff]: 5 changes artifact: fa84aee0bf user: kennykb
2005-06-06
22:58 • Ticket [1215775fff]: 4 changes artifact: f35add2150 user: silpheed
22:47 • Ticket [1215775fff]: 4 changes artifact: c28bf94d9e user: silpheed
22:47 • Add attachment config.log to ticket [1215775fff] artifact: 74d1cb601b user: silpheed
15:47 • New ticket [1215775fff] Compiler Error for TclObj.c on HP11i. artifact: 04fc2ffe4d user: silpheed

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: