Skip to content
Tcl Source Code History Of Ticket 842511ffffffffff
Login

History Of Ticket 842511ffffffffff

Artifacts Associated With Ticket 842511ffffffffff

  1. Ticket change [06e6c8947c] (rid 89288) by vincentdarley on 2003-11-15 00:28:41:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Line 354 of tclParse.c gives me an 'signed/unsigned ==
      comparison error' when compiling on Windows VC++ 5.2. 
      This change fixes the problem:
      
          if ( (expPfxLen == (size_t)expPtr->size)
      
      (i.e. add a cast to 'size_t').
      
      Similarly tclTest.c, line 6469 vs 6481 have a problem.
      6469 in const, but the third parameter of
      Tcl_InitCustomHashTable is not const:
      
          static const Tcl_HashKeyType hkType = {
      TCL_HASH_KEY_TYPE_VERSION, TCL_HASH_KEY_SYSTEM_HASH,
      NULL, NULL, NULL, NULL
          };
          Tcl_HashTable hash;
          Tcl_HashEntry *hPtr;
          int i, isNew, limit = 100;
      
          if (objc>1 && Tcl_GetIntFromObj(interp, objv[1],
      &limit)!=TCL_OK) {
      return TCL_ERROR;
          }
      
          Tcl_InitCustomHashTable(&hash,
      TCL_CUSTOM_TYPE_KEYS, &hkType);
      
      removing 'const' fixes the problem, but it may be
      better to change the definition of
      Tcl_InitCustomHashTable to add CONST, for all I know.
      
      I thought Tcl used capital letters for 'const' anyway,
      as a separate matter....
      
      
    4. foundin initialized to: "obsolete: 8.5a0"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "vincentdarley"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "compilation errors in tclParse.c, tclTest.c"
    11. type initialized to: "Bug"
  2. Ticket change [afe8095464] (rid 97897) by vincentdarley on 2003-11-15 07:47:45:

    1. priority changed to: "9 Immediate"
  3. Ticket change [ec2c4c5cd4] (rid 103668) by dgp on 2003-11-15 10:18:27:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Thanks for the testing.
      Fix for tclParse.x accepted.
      
      Passing on to dkf for the
      new hash table testing issue.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. subsystem changed to: "10. Objects"
    6. username: "dgp"
  4. Ticket change [e18de9e72b] (rid 87473) by dkf on 2003-11-16 06:44:26:

    1. closedate changed to: "2003-11-15T23:44:26"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Removed the const.
      
      I'm not 100% happy with it, but this is not the only public
      API in the core with this problem (e.g. Tcl_RegisterObjType)
      and I don't feel like embarking on a crusade to clean them
      all up.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"