Skip to content
Tcl Source Code History Of Ticket 732477ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 732477ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 732477ffffffffffffffffffffffffffffffffff

  1. Ticket change [2391dbed23] (rid 130964) by pauljohn32 on 2003-05-05 04:08:08:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "pauljohn32"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to:
      Please do not use "id" as a dummy variable in functions
      
    11. type initialized to: "Bug"
  2. Ticket change [f684459e08] (rid 130314) by msofer on 2003-05-13 01:00:30:

    1. subsystem changed to: "49. Threading"
  3. Ticket change [dd2c7030fb] (rid 114618) by msofer on 2003-05-13 01:00:31:

    1. assignee changed to: "mistachkin"
  4. Ticket change [deb00934c9] (rid 114892) by mistachkin on 2003-05-13 09:14:06:

    1. icomment:
      Logged In: YES 
      user_id=113501
      
      According to the ANSI standard, compilers are not 
      supposed to reserve identifiers that do NOT start with 
      an underscore or double underscore.
      
      Does anybody know if we support compilation using 
      Objective-C?
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. priority changed to: "3 Low"
    5. username: "mistachkin"
  5. Ticket change [5152383c81] (rid 126121) by pauljohn32 on 2003-05-13 12:06:23:

    1. icomment:
      Logged In: YES 
      user_id=23726
      
      Hello.  My understanding has been that in C one cannot have
      dummy variables named "int", "double", "float", etc.  It
      won't allow a function like
      
      int aFunct (int double);
      
      or some such thing, right?
      
      In Objective-C, "id' is like "double".  The problem would go
      away if you just changed "id" to "threadID" in that one method.
      
      
    2. login: "pauljohn32"
    3. mimetype: "text/plain"
    4. username: "pauljohn32"
  6. Ticket change [8731dd1f63] (rid 131654) by patthoyts on 2003-05-13 16:19:05:

    1. icomment:
      Logged In: YES 
      user_id=202636
      
      Bear in mind that this only requires changing in the public
      header. In fact you could simply delete the word 'id' and
      leave the bare signature. One wouldn't compile tcl itself
      with objective-c but should be able to create extensions
      using this compiler. 
      
      It certainly used to work (some time ago).
      
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  7. Ticket change [c5ebf84bf5] (rid 121669) by mistachkin on 2003-05-13 16:58:13:

    1. closedate changed to: "2003-05-13T09:58:13"
    2. closer changed to: "mistachkin"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  8. Ticket change [9c02da4198] (rid 111211) by mistachkin on 2003-05-13 17:25:53:

    1. closedate changed to: "2003-05-13T10:25:53"
    2. closer changed to: "mistachkin"
  9. Ticket change [e44db058f0] (rid 87932) by mistachkin on 2003-05-13 17:27:49:

    1. closedate changed to: "2003-05-13T10:27:49"
    2. closer changed to: "mistachkin"