Overview
| Artifact ID: | 479651fff9736bf687126e8e6d88454944fb77b4793de81172334c485f806b6f |
|---|---|
| Ticket: | 1615c806389ed4e58b4091714c8503cccabf49e4
gcc warnings compiling in 32-bit mode |
| User & Date: | apnadkarni on 2025-06-04 04:42:23 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- 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. - foundin changed to: "9.0.2"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "gcc warnings compiling in 32-bit mode"
- type changed to: "Bug"