Skip to content
Tcl Source Code History Of Ticket 7d41598b4d
Login

History Of Ticket 7d41598b4d

Artifacts Associated With Ticket 7d41598b4d

  1. Ticket change [0060861a33] (rid 257453) by chrstphrchvz on 2026-10-08 22:26:28:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      In tclCompile.h:
      
      ```
      /*
       * The TclGetInt1AtPtr macro is tricky because we want to do sign extension on
       * the 1-byte value. Unfortunately the "char" type isn't signed on all
       * platforms so sign-extension doesn't always happen automatically. Sometimes
       * we can explicitly declare the pointer to be signed, but other times we have
       * to explicitly sign-extend the value in software.
       */
      
      #ifndef __CHAR_UNSIGNED__
      #   define TclGetInt1AtPtr(p) ((int) *((char *) p))
      #elif defined(HAVE_SIGNED_CHAR)
      #   define TclGetInt1AtPtr(p) ((int) *((signed char *) p))
      #else
      #   define TclGetInt1AtPtr(p) \
          ((int) ((*((char *) p)) | ((*(p) & 0200) ? (-256) : 0)))
      #endif
      ```
      
      C89 is required since Tcl 8.6. The definitions of `TclGetInt1AtPtr()` not using `signed char`, and the configure checks which define `__CHAR_UNSIGNED__` or `HAVE_SIGNED_CHAR`, are no longer needed.
      
    5. foundin initialized to: "8.6"
    6. is_private initialized to: "0"
    7. login: "chrstphrchvz"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Cosmetic"
    12. status initialized to: "Open"
    13. submitter initialized to: "chrstphrchvz"
    14. subsystem initialized to: "47. Bytecode Compiler"
    15. title initialized to: "Remove pre-C89 support from tclCompile.h"
    16. type initialized to: "RFE"
  2. Ticket change [0f6152478a] (rid 257454) by oehhar on 2026-10-09 07:05:03:

    1. icomment:
      Jea, just go for 9.0+
      
      On 8.6, I compile with MS-VC6, which perhaps has caused this...
      
      Thanks,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/x-fossil-wiki"
    4. username: "oehhar"
  3. Ticket change [419727dce5] (rid 257459) by jan.nijtmans on 2026-10-09 14:12:23:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461323.0919330325"
    3. closer changed to: "jan.nijtmans"
    4. icomment:
      Since this is already fixed in Tcl 9.0, it's not worth to take any risk for 8.6.
      
      It's not worth the trouble. Sorry! What harm does it cause?
      
    5. login: "jan.nijtmans"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Out of Date"
    8. status changed to: "Closed"
  4. Add attachment "7d41598b-9.0.diff" [18ee11ef04] (rid 258375) by chrstphrchvz on 2026-10-17 01:47:52.

  5. Add attachment "7d41598b-9.1.diff" [bc0f93c2c9] (rid 258377) by chrstphrchvz on 2026-10-17 01:47:52.

  6. Ticket change [9352b4e60e] (rid 258378) by chrstphrchvz on 2026-10-17 01:50:53:

    1. closedate changed to: "2461330.5770057174"
    2. closer changed to: "chrstphrchvz"
    3. icomment:
      This is still present in 9.0/9.1; see attached patches. If someone could please take another look, I would appreciate it.
      
    4. login: "chrstphrchvz"
    5. mimetype: "text/x-fossil-wiki"