Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-07-13
11:46 • Closed ticket [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' mi... artifact: c98df7fb9f user: jan.nijtmans
11:15
Fix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribu... check-in: b16868653d user: jan.nijtmans tags: trunk, main
11:14
Fix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribu... check-in: f73aa02a08 user: jan.nijtmans tags: core-9-0-branch
10:14
Fix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribu... check-in: cd56186fb8 user: jan.nijtmans tags: core-8-6-branch
10:09 • New ticket [6ae6c13b18] Warning: argument 1 of 'Tcl_SetPanicProc' might ... artifact: 3443746b03 user: jan.nijtmans

Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribute

Closed / Fixed6ae6c13b183e97919dcd5a5817e7ef76aff0646cCreated 143 days agoUpdated 143 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:23
  • f73aa02a08Fix [6ae6c13b18]: Warning: argument 1 of 'Tcl_SetPanicProc' might be a candiate for a format attribute check-in2026-07-13 11:14:29
  • cd56186fb8Fix [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.