Overview
| Artifact ID: | 15b917781d581f9c9bd7e847b1e1cd5029365ab4d32bfef434c8a31af2b4bfea |
|---|---|
| Ticket: | 03cff7a777da6cdf7caace9f0a7d181c685ad799
-Wconversion warnings, like TclAdvanceContinuations() |
| User & Date: | jan.nijtmans on 2025-04-16 08:48:15 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
In the past, Tcl/Tk was compiled with -Wconversion warnings turned on. When the move was made to more 64-bit handling, this warning was removed from the CFLAGS, simply because it produced too much unuseful warnings. As an example TclAdvanceContinuations() is normally called like this (see tclParse.c): <pre> TclAdvanceContinuations(&line, &clNextOuter, tokenPtr->start - outerScript); </pre> Since the last argument is "int loc", a substraction of two pointer (ptrdiff_t) doesn't fit. This might be related to ticket [27b3ce2997]. There are more situations like this, let's see what we can do. The goal is _not_ to fix all -Wconversion warnings.
- foundin changed to: "9.1"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
-Wconversion warnings, like TclAdvanceContinuations()
- type changed to: "Bug"