#3155 Compiler Error for TclObj.c on HP11i

obsolete: 8.5a3
closed-fixed
5
2005-06-06
2005-06-06
No

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

Discussion

  • Jeremy Gibson

    Jeremy Gibson - 2005-06-06

    Configure Log

     
  • Jeremy Gibson

    Jeremy Gibson - 2005-06-06

    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.

     
  • Kevin B KENNY

    Kevin B KENNY - 2005-06-06
    • assigned_to: mdejong --> kennykb
     
  • Kevin B KENNY

    Kevin B KENNY - 2005-06-06

    Logged In: YES
    user_id=99768

    My bad.

     
  • Kevin B KENNY

    Kevin B KENNY - 2005-06-06
    • status: open --> closed-fixed
     
  • Kevin B KENNY

    Kevin B KENNY - 2005-06-06

    Logged In: YES
    user_id=99768

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