Artifacts Associated With Ticket 1631017
Ticket change [287b379db6] (rid 88704) by rrh on 2007-01-09 00:37:46:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The file compat/memcmp.c uses ++ on void* pointers. I believe that doing arithmetic on void* pointers is explicitly undefined in the C standard; it is an error to do so in C++. Perhaps it would be better to cast the void * pointers given as arguments to unsigned char * pointers, and then do arithmetic on those pointers; that way ++ almost surely increments by 1. I found this because the compiler I use issues a warning message for this construct, and then increments the void * pointer by 8 for each ++ operation; our compiler is likely doing the "wrong" thing relative to long-standing convention.
- foundin initialized to: "obsolete: 8.4.14"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "rrh"
- subsystem initialized to: "52. Portability Support"
- title initialized to: "compat/memcmp.c uses ++ on void*"
- type initialized to: "Bug"
Ticket change [d9307804f6] (rid 107566) by dkf on 2007-01-18 18:50:26:
- assignee changed to: "mdejong"
Ticket change [fee1c23216] (rid 108661) by dkf on 2007-01-22 16:57:24:
- assignee changed to: "dkf"
- closedate changed to: "2007-01-22T09:57:24"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Originator: NO fixed in 8.4 branch and HEAD
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Ticket change [21d3145980] (rid 130649) by nobody on 2007-01-23 11:11:30:
- icomment:
Logged In: NO The real bug is that compat/memcmp.c is being used in the first place - if the build system is trying to use this file at all, it indicates that the configure script has failed to detect a working C compiler. (This might be because there is no working C compiler on the system, but Tcl can't and shouldn't try to do anything about that...)
- login: "nobody"
- mimetype: "text/plain"
- username: "nobody"
- icomment: