Artifact 9316f64fde3295c1755e55b164b952cc975b351cb5638c45877e4e933d04dabb:
D 2024-04-25T15:10:46.201 J icomment Should\sbe\sfixed\s[b95cc2b450d1f6dd|here]\r\n\r\n>\sThe\sversion\sin\sbranch\sbug-ef23a85ac6\sfixes\sthe\sissue.\r\n\r\nUnfortunately,\sthe\searlier\sfix\scaused\swarnings\son\sLinux:\r\n<pre>\r\n/home/runner/work/tcl/tcl/generic/tcl.h:600:1:\swarning:\s‘noreturn’\sattribute\signored\s[-Wattributes]\r\n\s\s600\s|\stypedef\sTCL_NORETURN1\svoid\s(Tcl_PanicProc)\s(const\schar\s*format,\s...);\r\n\s\s\s\s\s\s|\s^~~~~~~\r\n</pre>\r\nwhich\scan\sbe\sseen\sin\sthe\sGITHUB\sbuild:\r\n[https://github.com/tcltk/tcl/actions/runs/8812574046/job/24188518470]\r\n\r\nThe\sbest\ssolution,\sit\sturns\sout,\sis\sno\slonger\suse\sthe\s`TCL_NORETURN1`\soption\swhen\ssetting/getting\sexitproc/panicproc\sfunctions,\sbut\slet\s`Tcl_Panic()`\shandle\sall\sof\sthis.\sIf\sthe\suser\sprovides\sa\s`TCL_NORETURN`\sfunction\sas\spanicproc,\sthat's\sfine.\sIf\sthe\suser\sdoesn't\sdo\sthat,\sbut\sprovides\sa\sfunction\swhich\sreturns,\sthen\s`Tcl_Panic()`\swill\shandle\sthe\slast\spart\sof\sexiting.\r\n\r\nThis\sway,\sI\sthink,\ssolves\sthe\sNaviServer\swarning,\sand\sit\shandles\severything\sI\scan\sthink\sof.\r\n\r\nThanks\sfor\sthe\sreport! J login jan.nijtmans J mimetype text/x-fossil-wiki K ef23a85ac6bab7d4f2cdb1eb1a03d23bb2e5b289 U jan.nijtmans Z 3f740b32a7fc023643b6680ac5afaeb7