Artifacts Associated With Ticket 7d41598b4dff9d22
Ticket change [0060861a33] (rid 257453) by chrstphrchvz on 2026-10-08 22:26:28:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- 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. - foundin initialized to: "8.6"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- private_contact initialized to: "6133eb3026f9b10aa9b7b48da92ae2834fc225b0"
- resolution initialized to: "None"
- severity initialized to: "Cosmetic"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "Remove pre-C89 support from tclCompile.h"
- type initialized to: "RFE"
Ticket change [0f6152478a] (rid 257454) by oehhar on 2026-10-09 07:05:03:
- icomment:
Jea, just go for 9.0+ On 8.6, I compile with MS-VC6, which perhaps has caused this... Thanks, Harald
- login: "oehhar"
- mimetype: "text/x-fossil-wiki"
- username: "oehhar"
- icomment:
Ticket change [419727dce5] (rid 257459) by jan.nijtmans on 2026-10-09 14:12:23:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2461323.0919330325"
- closer changed to: "jan.nijtmans"
- 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?
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
Add attachment "7d41598b-9.0.diff" [18ee11ef04] (rid 258375) by chrstphrchvz on 2026-10-17 01:47:52.
Add attachment "7d41598b-9.1.diff" [bc0f93c2c9] (rid 258377) by chrstphrchvz on 2026-10-17 01:47:52.
Ticket change [9352b4e60e] (rid 258378) by chrstphrchvz on 2026-10-17 01:50:53:
- closedate changed to: "2461330.5770057174"
- closer changed to: "chrstphrchvz"
- icomment:
This is still present in 9.0/9.1; see attached patches. If someone could please take another look, I would appreciate it.
- login: "chrstphrchvz"
- mimetype: "text/x-fossil-wiki"