Skip to content
Tcl Source Code History Of Ticket 2440625
Login

History Of Ticket 2440625

Artifacts Associated With Ticket 2440625

  1. Ticket change [c415524580] (rid 111785) by lvirden on 2008-12-17 15:13:16:

    1. assignee initialized to: "mdejong"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      platform: sun sparc solaris 8, sun c compiler, tcl 8.6 cvs head
      
      During the gmake all step, the following warning is produced:
      
            /vol/tclsrcsol/tcl86/tcl/unix/../generic/tclAsync.c
      /opt/SUNWspro/bin/cc -c -g    -KPIC -I"." -I/vol/tclsrcsol/tcl86/tcl/unix/../unix -I/vol/tclsrcsol/tcl86/tcl/unix/../generic -I/vol/tclsrcsol/tcl86/tcl/unix/../
      libtommath -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"
      8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -D_REENTRANT=1 
      -D_POSIX_PTHREAD_SEMANTICS=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_CFG_DEBUG=1 -DTCL_TOMMATH=1 -DMP_PREC=4 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -
      DHAVE_GETADDRINFO=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -
      DHAVE_DECL_TZNAME=1 -DHAVE_TZNAME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1
       -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_UNLOAD_DLLS=1
            /vol/tclsrcsol/tcl86/tcl/unix/../generic/tclBasic.c
      "/vol/tclsrcsol/tcl86/tcl/unix/../generic/tclBasic.c", line 4297: warning: assignment type mismatch:
              pointer to function(pointer to void, pointer to struct Tcl_Interp {pointer to char unused3, pointer to function(..) returning void unused4, int unused5}
      , int, pointer to const pointer to struct Tcl_Obj {int refCount, pointer to char
       bytes, int length, pointer to const struct Tcl_ObjType {..} typePtr, union  {..
      } internalRep}) returning int "=" pointer to void
      
      While I understand it is "just" a warning, I thought it might be worthwhile hearing about in case there is something that can be done about it.
      
    4. foundin initialized to: "obsolete: 8.6a4"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "lvirden"
    10. subsystem initialized to: "53. Configuration and Build Tools"
    11. title initialized to: "compile warning for tclBasic.c"
    12. type initialized to: "Bug"
  2. Ticket change [a91f42e4a3] (rid 99106) by dgp on 2008-12-17 22:19:10:

    1. assignee changed to: "dgp"
    2. subsystem changed to: "45. Parsing and Eval"
  3. Ticket change [3fb2fbdb01] (rid 121509) by dgp on 2008-12-17 22:42:07:

    1. assignee changed to: "dkf"
    2. icomment:
      
      best to add a typecast?
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  4. Ticket change [619bb0f068] (rid 92271) by dkf on 2008-12-17 23:10:13:

    1. icomment:
      Problem is, C doesn't guarantee that sizeof(void*)==sizeof(Tcl_ObjCmdProc*) for various reasons. (If they are the same, it's a safe thing to do. If they aren't, it's disastrous.)
      
      So, a cast and an assert. (Assigning to originator of this code.)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [be65ed76b3] (rid 102066) by dkf on 2008-12-17 23:10:15:

    1. assignee changed to: "msofer"
  6. Ticket change [7d2da22f1e] (rid 97203) by ferrieux on 2008-12-17 23:23:55:

    1. icomment:
      Donal, can you give a pointer (pun intended) to a relevant standard excerpt showing this unbelievable degree of freedom ? Or details about the "various reasons" ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  7. Ticket change [4e70d9210c] (rid 127235) by dkf on 2008-12-17 23:44:54:

    1. icomment:
      I just googled (and relied on memory and kbk and jenglish)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  8. Ticket change [2a2d6ab331] (rid 118508) by kennykb on 2008-12-17 23:49:30:

    1. icomment:
      
      
      File Added - 305728: 2440625.patch
      
      Possible fix attached, should have near zero performance impact since it's just moving code. Test suite passes with the patch applied. I don't claim to know about all the implications of delaying the fetch of objProc and clientData.
      File Added: 2440625.patch
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  9. Add attachment "2440625.patch" [035c846422] (rid 119816) by kennykb on 2008-12-17 23:49:30.

  10. Ticket change [edc1bc9cb7] (rid 103948) by msofer on 2009-05-01 08:30:09:

    1. priority changed to: "6"
  11. Ticket change [b3da56e686] (rid 124923) by msofer on 2011-04-12 09:33:54:

    1. assignee changed to: "kennykb"
  12. Ticket change [b1497e089f] (rid 98123) by msofer on 2011-04-13 00:35:08:

    1. icomment:
      Patch adapted to trunk and committed
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  13. Ticket change [3defd7962b] (rid 121181) by msofer on 2011-04-13 00:35:15:

    1. closedate changed to: "2011-04-12T17:35:15"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"