|
2025-04-19
| ||
| 16:45 | • Ticket [03cff7a777] -Wconversion warnings, like TclAdvanceContinuations() st... artifact: b7c067e13e user: jan.nijtmans | |
|
2025-04-17
| ||
| 14:49 | • Ticket [03cff7a777]: 4 changes artifact: 93ee4ef3dd user: jan.nijtmans | |
| 14:47 | Another round of -Wconversion warning fixes, see [03cff7a777] check-in: d92999333a user: jan.nijtmans tags: conversion-warning | |
|
2025-04-16
| ||
| 09:00 | Merge 9.0. Fix some -Wconversion warnings, see [03cff7a777] check-in: ca9b2d5796 user: jan.nijtmans tags: trunk, main | |
| 08:48 | • New ticket [03cff7a777] -Wconversion warnings, like TclAdvanceContinuations()</i... artifact: 15b917781d user: jan.nijtmans | |
-Wconversion warnings, like TclAdvanceContinuations()
Open03cff7a777da6cdf7caace9f0a7d181c685ad799Created 2 years agoUpdated 2 years ago
Descriptionwiki2025-04-16 08:48:15
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):
TclAdvanceContinuations(&line, &clNextOuter, tokenPtr->start - outerScript);
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.
Referenced by2
d92999333aAnother round of -Wconversion warning fixes, see [03cff7a777] check-in2025-04-17 14:47:13ca9b2d5796Merge 9.0. Fix some -Wconversion warnings, see [03cff7a777] check-in2025-04-16 09:00:15
jan.nijtmanswiki2025-04-19 16:45:43
Third round of fixes [here]
Log in (anonymous is fine) to add a comment.