Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2391dbed23e600175eb4fbca9d41511fb1927f12
Ticket: 732477ffffffffffffffffffffffffffffffffff
Please do not use "id" as a dummy variable in functions
User & Date: pauljohn32 on 2003-05-05 04:08:08
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In the upgrade from tcl/tk 8.3 to 8.4, I started to
    encounter trouble compiling programs in Objective-C
    that are linked with tcl/tk.  We can't compile the
    Swarm library (www.swarm.org) against 8.4 because "id"
    is used as a variable name.  The problem is that
    Objective-C uses a reserved word "id" to refer to an
    object.  
    
    The problems are in tclDecls.h
    
    EXTERN intTcl_JoinThread _ANSI_ARGS_((Tcl_ThreadId
    id,  int* result));
    
    I notice in some of your other functions you have
    threadId where this one has "id".
    
    As it stands, in order to compile Swarm, I have to
    comment out Tcl_JoinThread from tclDecls.h
    
  4. foundin changed to: "obsolete: 8.4.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "pauljohn32"
  9. subsystem changed to: "07. Variables"
  10. title changed to:
    Please do not use "id" as a dummy variable in functions
    
  11. type changed to: "Bug"