Skip to content
Tcl Source Code History Of Ticket 1615c80638
Login

History Of Ticket 1615c80638

Artifacts Associated With Ticket 1615c80638

  1. Ticket change [479651fff9] (rid 240838) by apnadkarni on 2025-06-04 04:42:23:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. 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.
      
    5. foundin initialized to: "9.0.2"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "gcc warnings compiling in 32-bit mode"
    16. type initialized to: "Bug"
  2. Ticket change [d7617b3de1] (rid 249099) by chrstphrchvz on 2025-12-05 03:15:51:

    1. icomment:
      I believe the version for this ticket should be 9.1. I don't think 9.0 or earlier are affected.
      
    2. login: "chrstphrchvz"
    3. mimetype: "text/x-markdown"
  3. Ticket change [ece0f7a683] (rid 249328) by jan.nijtmans on 2025-12-08 15:08:26:

    1. assignee changed to: "dkf"
    2. icomment:
      Those changes were introduced with [507b920e63397514|this] commit (TIP 720: Bytecode generation improvements/sanity).
      
      Therefore, assigning to @dkf
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
  4. Ticket change [396dcfd419] (rid 250183) by cdubois on 2026-01-06 04:20:23:

    1. 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.
      
    2. login: "cdubois"
    3. mimetype: "text/plain"
  5. Ticket change [44ab38417e] (rid 252064) by stu on 2026-03-13 10:47:13:

    1. icomment:
      In 9.1a1: 43 warnings like this, in:
      generic/tclCompCmds.c
      generic/tclCompCmdsGR.c
      generic/tclCompCmdsSZ.c
      
    2. login: "stu"
    3. mimetype: "text/plain"
  6. Ticket change [ca29917abe] (rid 253228) by dkf on 2026-04-30 16:06:49:

    1. closedate changed to: "2461161.1714046411"
    2. closer changed to: "dkf"
    3. 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.
      
    4. login: "dkf"
    5. mimetype: "text/x-markdown"
    6. priority changed to: "3 Low"
    7. resolution changed to: "Fixed"
    8. severity changed to: "Cosmetic"
    9. status changed to: "Closed"
  7. Ticket change [967c5dcf39] (rid 253236) by jan.nijtmans on 2026-05-01 16:00:58:

    1. closer changed to: "nobody"
    2. 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
      
    3. login: "jan.nijtmans"
    4. mimetype: "text/x-fossil-wiki"
    5. resolution changed to: "None"
    6. status changed to: "Open"
  8. Ticket change [efe158581c] (rid 253249) by apnadkarni on 2026-05-02 06:20:43:

    1. 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.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  9. Ticket change [bd028e1227] (rid 253252) by apnadkarni on 2026-05-02 06:39:48:

    1. icomment:
      Fixed in [5ae9991e]. Verified on mingw32, vc++ 32 and gcc 64.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-fossil-plain"
  10. Ticket change [8d8d666224] (rid 253253) by apnadkarni on 2026-05-02 06:39:59:

    1. closedate changed to: "2461162.7777695372"
    2. closer changed to: "apnadkarni"
    3. login: "apnadkarni"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"