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
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "obsolete: 8.4.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "pauljohn32"
- subsystem changed to: "07. Variables"
- title changed to:
Please do not use "id" as a dummy variable in functions
- type changed to: "Bug"