Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribute
Closed / Fixed6ae6c13b183e97919dcd5a5817e7ef76aff0646cCreated 144 days agoUpdated 144 days ago
Descriptionwiki2026-07-13 10:09:27
Request from Gustaf Neumann.
Hi Jan,
can i ask you to merge the small and harmless change into the tcl sources. I am getting complaints about the following warning from the NaviServer community after releasing NaviServer 5.1. The new version has more aggressive warning activated. One could certainly remove the warning flags or mess around with #pragma, but the right way is to fix this in tcl. I can’t override this locally with declarations for my Panic function, the typedef from Tcl is stronger.
all the best -g
https://github.com/naviserver-project/naviserver/actions/runs/29020173065/job/86567689149#step:9:
Referenced by3
b16868653dFix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribute check-in2026-07-13 11:15:23f73aa02a08Fix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribute check-in2026-07-13 11:14:29cd56186fb8Fix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribute check-in2026-07-13 10:14:45
jan.nijtmanswiki2026-07-13 11:46:38
Fixed [here] (and in other branches)
Thanks for the report!
Log in (anonymous is fine) to add a comment.