Tcl Source Code

View Ticket
Login
Ticket UUID: 1215775
Title: Compiler Error for TclObj.c on HP11i
Type: Bug Version: obsolete: 8.5a3
Submitter: silpheed Created on: 2005-06-06 15:47:41
Subsystem: 53. Configuration and Build Tools Assigned To: kennykb
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-06-07 04:06:42
Resolution: Fixed Closed By: kennykb
    Closed on: 2005-06-06 21:06:42
Description:
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
User Comments: kennykb added on 2005-06-07 04:06:42:
Logged In: YES 
user_id=99768

Replaced the 'switch' with an 'if', and added the missing
'static'
on UpdateStringOfBignum.

kennykb added on 2005-06-07 02:56:01:
Logged In: YES 
user_id=99768

My bad.

silpheed added on 2005-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.

silpheed added on 2005-06-06 22:47:43:

File Added - 137446: config.log

Attachments: