Artifacts Associated With Ticket 1615c806389ed4e5
Ticket change [479651fff9] (rid 240838) by apnadkarni on 2025-06-04 04:42:23:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
gcc spits out a bunch of warnings similar to below for compiling for 32-bit architectures: ``` C:/src/tcltk/wip/tcl/generic/tclCompCmds.c: In function 'TclCompileAppendCmd': C:/src/tcltk/wip/tcl/generic/tclCompCmds.c:144:35: warning: comparison of integer expressions of different signedness: 'Tcl_Size' {aka 'int'} and 'unsigned int' [-Wsign-compare] 144 | if (numWords == 1 || numWords > UINT_MAX) { ``` The comparison does not make sense on 32-bit archs as the expression will never be true. More important, the number of warnings output means potentially serious warnings are missed. - foundin initialized to: "9.0.2"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "gcc warnings compiling in 32-bit mode"
- type initialized to: "Bug"
Ticket change [d7617b3de1] (rid 249099) by chrstphrchvz on 2025-12-05 03:15:51:
- icomment:
I believe the version for this ticket should be 9.1. I don't think 9.0 or earlier are affected.
- login: "chrstphrchvz"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [ece0f7a683] (rid 249328) by jan.nijtmans on 2025-12-08 15:08:26:
- assignee changed to: "dkf"
- icomment:
Those changes were introduced with [507b920e63397514|this] commit (TIP 720: Bytecode generation improvements/sanity). Therefore, assigning to @dkf
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
Ticket change [396dcfd419] (rid 250183) by cdubois on 2026-01-06 04:20:23:
- icomment:
Thanks for the pointers regarding TIP 720. I’ll try to reproduce the -Wsign-compare warnings in a true 32-bit build (either an i386 container or a multilib -m32 build). I’ll report back with the exact gcc version/flags and whether this reproduces on 9.0.2 vs current development (9.1/trunk). If confirmed, I can propose a patch to make the comparisons type-safe and verify it by rebuilding (and running relevant tests) on 32-bit.
- login: "cdubois"
- mimetype: "text/plain"
- icomment:
Ticket change [44ab38417e] (rid 252064) by stu on 2026-03-13 10:47:13:
- icomment:
In 9.1a1: 43 warnings like this, in: generic/tclCompCmds.c generic/tclCompCmdsGR.c generic/tclCompCmdsSZ.c
- login: "stu"
- mimetype: "text/plain"
- icomment:
Ticket change [ca29917abe] (rid 253228) by dkf on 2026-04-30 16:06:49:
- closedate changed to: "2461161.1714046411"
- closer changed to: "dkf"
- icomment:
Ought to be resolved, or at least fewer error messages (max one per compiled file). Done by moving the comparison to a `static inline` function in tclCompile.h; if my implementation in there isn't right, fix it in that one place. Works for me now.
- login: "dkf"
- mimetype: "text/x-markdown"
- priority changed to: "3 Low"
- resolution changed to: "Fixed"
- severity changed to: "Cosmetic"
- status changed to: "Closed"
Ticket change [967c5dcf39] (rid 253236) by jan.nijtmans on 2026-05-01 16:00:58:
- closer changed to: "nobody"
- icomment:
Well, 9.1 build is broken now, even worse at it was: [https://github.com/tcltk/tcl/actions/runs/25206800733] <pre> Tests ended at 2026-05-01 07:53:02 UTC all.tcl: Total 481605 Passed 475243 Skipped 6295 Failed 67 Sourced 173 Test Files. Files with failing tests: compExpr.test coroutine.test dict.test info.test interp.test lmap.test mathop.test nre.test oo.test regexpComp.test stack.test trace.test </pre> Re-opening
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "None"
- status changed to: "Open"
Ticket change [efe158581c] (rid 253249) by apnadkarni on 2026-05-02 06:20:43:
- icomment:
Failures also present on 32-bit Windows. As an aside, I'm a bit surprised GH CI does not include Windows 32-bit config.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [bd028e1227] (rid 253252) by apnadkarni on 2026-05-02 06:39:48:
- icomment:
Fixed in [5ae9991e]. Verified on mingw32, vc++ 32 and gcc 64.
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- icomment:
Ticket change [8d8d666224] (rid 253253) by apnadkarni on 2026-05-02 06:39:59:
- closedate changed to: "2461162.7777695372"
- closer changed to: "apnadkarni"
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"