Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 25ad5280d446113ee1a1b6c1074bf6dd73c81937
Ticket: 218984ffffffffffffffffffffffffffffffffff
tclDate.c should not use keyword "const"
User & Date: nobody on 2000-10-26 01:08:57
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3521 Bug
    Version: 8.2.2
    SubmitDate: '1999-11-08'
    LastModified: '1999-12-04'
    Severity: MED
    Status: Released
    Submitter: techsupp
    ChangedBy: hobbs
    RelatedBugIDs: 3547 3659
    OS: HP-UX
    FixedDate: '1999-12-04'
    FixedInVersion: 8.3b1
    ClosedDate: '2000-10-25'
    
    
    Name:
    
    Ulrich Ring
    
    
    
    Comments:
    
    simply spoken: replace "const" by "CONST"
    
    
    
    ReproducibleScript:
    
    On HP-UX (width native cc compiler):
    
    
    
    cd unix
    
    ./configure
    
    make
    
    
    
    ObservedBehavior:
    
    cc unable to compile generic/tclDate.c
    
    
    
    DesiredBehavior:
    
    successful make
    
    
    
    Patch:
    
    146c146
    
    <   void TclDateerror(CONST char *);
    
    ---
    
    >   void TclDateerror(const char *);
    
    811c811
    
    < static CONST TclDatetabelem TclDateexca[] ={
    
    ---
    
    > static const TclDatetabelem TclDateexca[] ={
    
    818c818
    
    < static CONST TclDatetabelem TclDateact[]={
    
    ---
    
    > static const TclDatetabelem TclDateact[]={
    
    843c843
    
    < static CONST TclDatetabelem TclDatepact[]={
    
    ---
    
    > static const TclDatetabelem TclDatepact[]={
    
    850c850
    
    < static CONST TclDatetabelem TclDatepgo[]={
    
    ---
    
    > static const TclDatetabelem TclDatepgo[]={
    
    854c854
    
    < static CONST TclDatetabelem TclDater1[]={
    
    ---
    
    > static const TclDatetabelem TclDater1[]={
    
    861c861
    
    < static CONST TclDatetabelem TclDater2[]={
    
    ---
    
    > static const TclDatetabelem TclDater2[]={
    
    868c868
    
    < static CONST TclDatetabelem TclDatechk[]={
    
    ---
    
    > static const TclDatetabelem TclDatechk[]={
    
    875c875
    
    < static CONST TclDatetabelem TclDatedef[]={
    
    ---
    
    > static const TclDatetabelem TclDatedef[]={
    
    1302c1302
    
    <               register CONST int *TclDatexi = TclDateexca;
    
    ---
    
    >               register const int *TclDatexi = TclDateexca;
    
    ~
    
    
    
    PatchFiles:
    
    diff tclDate.c tclDate.c.orig
    
    
    
    
    
    Fixed the makefile, which already runs over the tclDate.c that
    is generated from the tclGetDate.y yacc, to replace 'const '
    with 'CONST '. 
    -- 12/04/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "75. Tutorial"
  10. title changed to: "tclDate.c should not use keyword "const""
  11. type changed to: "Bug"