History Of Ticket 2b566b4c81d33f2ec0cfa228966b5804d83c1a0c

Artifacts Associated With Ticket 2b566b4c81d33f2ec0cfa228966b5804d83c1a0c

  1. Ticket change [821293e0ca] (rid 361) by anonymous on 2014-06-13 16:02:46:

    1. foundin initialized to: "0.17"
    2. icomment:
      Attempting to create a [tcc4tcl::cproc] with an argl greater than one errors with "invalid type".
      
      % tcc4tcl::cproc add {int a, int b} int {return a+b;}
      <string>:4: error: invalid type
      compilation failed
      
      The full error message:
      
      <string>:4: error: invalid type
      compilation failed
          while executing
      "$tcc(cc) compile $code"
          (procedure "::tcc4tcl::cc" line 8)
          invoked from within
      "::tcc4tcl::cc {
      #include <tcl.h>
      static int
      c_add(int a,, int b) {
      return a+b;}
      
      
      int Cmd_N4__add (ClientData dummy,Tcl_Interp *ip,int objc,Tcl_Obj *C..."
          ("uplevel" body line 1)
          invoked from within
      "uplevel 1 [list ${ns}::cc $code]"
          (procedure "::tcc4tcl::ccommand" line 40)
          invoked from within
      "::tcc4tcl::ccommand add {dummy ip objc objv} {  int _a,;
        int _b;
        int rv;
        if (objc != 3) {
          Tcl_WrongNumArgs(ip, 1, objv, "a, b");
          return ..."
          ("uplevel" body line 1)
          invoked from within
      "uplevel 1 [list ${ns}::ccommand $name {dummy ip objc objv} $cbody]"
          (procedure "tcc4tcl::cproc" line 5)
          invoked from within
      "tcc4tcl::cproc add {int a, int b} int {return a+b;}"
          (file "tcc.tcl" line 3)
      
      Maybe something to do with c_add having more than one ',' between each argument? 
      
      c_add(int a,, int b) {return a+b;}
      
    3. login: "anonymous"
    4. mimetype: "text/x-fossil-plain"
    5. severity initialized to: "Critical"
    6. status initialized to: "Open"
    7. title initialized to:
      [tcc4tcl::cproc] errors when given more than one argl argument
      
    8. type initialized to: "Code_Defect"
  2. Ticket change [ad6d08b639] (rid 370) by rkeene on 2014-06-15 20:10:22:

    1. icomment:
      Format of arguments is poorly documented but should be without the comma (i.e., as a Tcl list):
      
      tcc4tcl::cproc add {int a int b} int { return(a+b); }
      
    2. login: "rkeene"
    3. mimetype: "text/plain"
    4. priority changed to: "Immediate"
    5. resolution changed to: "Not_A_Bug"
    6. type changed to: "Documentation"
    7. username: "rkeene"
  3. Ticket change [143b032a3c] (rid 371) by rkeene on 2014-06-15 20:10:47:

    1. login: "rkeene"
    2. mimetype: "text/x-fossil-plain"
    3. priority changed to: "Medium"
    4. severity changed to: "Important"
    5. status changed to: "Closed"