regexec.c: GCC -Wtype-limits warning
Closed / Fixedcd0d28eab9ae30c4dca4598bc92babd5f61ae991Created 363 days agoUpdated 360 days ago
Descriptionmarkdown2025-12-05 05:23:08
.ntree (regguts.h:399) was changed from int to size_t. Recent GCC says:
tcl90/generic/regexec.c:233:24: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 233 | assert(v->g->ntree >= 0);
| ^~
Referenced by2
6bbec4425eFix [cd0d28eab9]: regexec.c: GCC -Wtype-limits warning check-in2025-12-07 20:51:195225e3ef0aFix [cd0d28eab9]: regexec.c: GCC -Wtype-limits warning check-in2025-12-07 20:37:38
jan.nijtmanswiki2025-12-07 21:38:13
Fixed [here]. Thanks for the report!
Log in (anonymous is fine) to add a comment.