Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 65b1a3f3404f1cdb4c599a43ab04d1d1f687e6c6
Ticket: 224384ffffffffffffffffffffffffffffffffff
Tcl won't compile with 'TCL_MEM_DEBUG' enabled
User & Date: vincentdarley on 2000-12-04 14:53:35
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    It looks as if when the new 'AttemptAlloc' code was added, no-one tested whether Tcl 8.4 would compile with the mem debug flag enabled, even though code involving that flag was modified... ;-)
    
    There is a typo in tcl.h:
    
    #   define attemptckalloc(x) Tcl_AttempDbCkalloc(x, __FILE__, __LINE__)
    
    should be 'Attempt' not 'Attemp'
    
    and the two functions 'Tcl_AttemptDbCkrealloc' and 'Tcl_AttemptDbCkalloc' are in the '#else' rather than '#if' branch of '#if TCL_MEM_DEBUG' so they are not seen and cause link errors....
    
    
    
  4. foundin changed to: "obsolete: 8.4a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vincentdarley"
  9. subsystem changed to: ""
  10. title changed to: "Tcl won't compile with 'TCL_MEM_DEBUG' enabled"
  11. type changed to: "Bug"