|
2024-08-23
| ||
| 11:53 | Merge [da64d649c8cdcb63]: Fix [54a305cb88] (second part) by hand-editing tclDate.c. check-in: be7ec53a5f user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE | |
|
2023-11-10
| ||
| 14:31 | • Closed ticket [54a305cb88]: warning: variable set but not used [-Wunused-but-set... artifact: 5506f35598 user: jan.nijtmans | |
| 14:22 | Fix [54a305cb88] (second part) by hand-editing tclDate.c. check-in: fb67972905 user: jan.nijtmans tags: core-8-6-branch | |
| 13:20 | • Pending ticket [54a305cb88]: warning: variable set but not used [-Wunused-but-se... artifact: 3b57f5e570 user: jan.nijtmans | |
|
2023-11-09
| ||
| 21:54 | (partial) fix [54a305cb88]: warning: variable set but not used [-Wunused-but-set-variable] check-in: 71de98ad05 user: jan.nijtmans tags: core-8-6-branch | |
|
2023-11-08
| ||
| 20:58 | • Ticket [54a305cb88] warning: variable set but not used [-Wunused-but-set-variabl... artifact: a3fbb88df0 user: fvogel | |
| 20:57 | • New ticket [54a305cb88]. artifact: e2271e1245 user: fvogel | |
warning: variable set but not used [-Wunused-but-set-variable]
Closed / Fixed54a305cb88d1ab69c4295ca9809c91d402f58c1aCreated 3 years agoUpdated 3 years ago
Descriptionwiki2023-11-08 20:57:37
When building core-8-6-branch (here, on macOS with --disable-aqua):
/Volumes/Users/fvogel/Documents/tcltk/fossil/tcl/generic/tclDate.c:1299:9: warning: variable 'TclDatenerrs' set but not used [-Wunused-but-set-variable]
int yynerrs;
^
/Volumes/Users/fvogel/Documents/tcltk/fossil/tcl/generic/tclDate.c:67:25: note: expanded from macro 'yynerrs'
#define yynerrs TclDatenerrs
^
and:
/Volumes/Users/fvogel/Documents/tcltk/fossil/tcl/generic/tclFileName.c:2141:29: warning: variable 'count' set but not used [-Wunused-but-set-variable]
int baseLength, quoted, count;
^
Referenced by3
be7ec53a5fMerge [da64d649c8cdcb63]: Fix [54a305cb88] (second part) by hand-editing tclDate.c. check-in2024-08-23 11:53:41fb67972905Fix [54a305cb88] (second part) by hand-editing tclDate.c. check-in2023-11-10 14:22:0671de98ad05(partial) fix [54a305cb88]: warning: variable set but not used [-Wunused-but-set-variable] check-in2023-11-09 21:54:57
fvogel Ticket [54a305cb88]: 3 changes
[History diff]2023-11-08 20:58:38
jan.nijtmanswiki2023-11-10 13:20:31
Second warning fixed [here]
The warning in tclDate.c is more complicated: this is generated code. Maybe upgrade to a later version of Bison?
jan.nijtmanswiki2023-11-10 14:31:32
Second part fixed [here]. I tried bison 3.8.2, but that didn't resolve this problem. So, for now, manually edited.
I like being able to release Tcl 8.6.14 warning-free ;-)
Log in (anonymous is fine) to add a comment.