Skip to content
Tcl Source Code History Of Ticket 1631017
Login

History Of Ticket 1631017

Artifacts Associated With Ticket 1631017

  1. Ticket change [287b379db6] (rid 88704) by rrh on 2007-01-09 00:37:46:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.4.14"
    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: "rrh"
    10. subsystem initialized to: "52. Portability Support"
    11. title initialized to: "compat/memcmp.c uses ++ on void*"
    12. type initialized to: "Bug"
  2. Ticket change [d9307804f6] (rid 107566) by dkf on 2007-01-18 18:50:26:

    1. assignee changed to: "mdejong"
  3. Ticket change [fee1c23216] (rid 108661) by dkf on 2007-01-22 16:57:24:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2007-01-22T09:57:24"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      fixed in 8.4 branch and HEAD
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"
  4. Ticket change [21d3145980] (rid 130649) by nobody on 2007-01-23 11:11:30:

    1. 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...)
      
      
    2. login: "nobody"
    3. mimetype: "text/plain"
    4. username: "nobody"