Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 479651fff9736bf687126e8e6d88454944fb77b4793de81172334c485f806b6f
Ticket: 1615c806389ed4e58b4091714c8503cccabf49e4
gcc warnings compiling in 32-bit mode
User & Date: apnadkarni on 2025-06-04 04:42:23
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed 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 changed to: "9.0.2"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "gcc warnings compiling in 32-bit mode"
  16. type changed to: "Bug"