Artifacts Associated With Ticket 2440625fffffffffffffffffffffffffffffffff
Ticket change [c415524580] (rid 111785) by lvirden on 2008-12-17 15:13:16:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.6a4"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lvirden"
- subsystem initialized to: "53. Configuration and Build Tools"
- title initialized to: "compile warning for tclBasic.c"
- type initialized to: "Bug"
Ticket change [a91f42e4a3] (rid 99106) by dgp on 2008-12-17 22:19:10:
- assignee changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
Ticket change [3fb2fbdb01] (rid 121509) by dgp on 2008-12-17 22:42:07:
- assignee changed to: "dkf"
- icomment:
best to add a typecast?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [619bb0f068] (rid 92271) by dkf on 2008-12-17 23:10:13:
- 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.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [be65ed76b3] (rid 102066) by dkf on 2008-12-17 23:10:15:
- assignee changed to: "msofer"
Ticket change [7d2da22f1e] (rid 97203) by ferrieux on 2008-12-17 23:23:55:
- 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" ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [4e70d9210c] (rid 127235) by dkf on 2008-12-17 23:44:54:
- icomment:
I just googled (and relied on memory and kbk and jenglish)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [2a2d6ab331] (rid 118508) by kennykb on 2008-12-17 23:49:30:
- 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
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Add attachment "2440625.patch" [035c846422] (rid 119816) by kennykb on 2008-12-17 23:49:30.
Ticket change [edc1bc9cb7] (rid 103948) by msofer on 2009-05-01 08:30:09:
- priority changed to: "6"
Ticket change [b3da56e686] (rid 124923) by msofer on 2011-04-12 09:33:54:
- assignee changed to: "kennykb"
Ticket change [b1497e089f] (rid 98123) by msofer on 2011-04-13 00:35:08:
- icomment:
Patch adapted to trunk and committed
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [3defd7962b] (rid 121181) by msofer on 2011-04-13 00:35:15:
- closedate changed to: "2011-04-12T17:35:15"
- closer changed to: "msofer"
- icomment:
allow_comments - 1
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"