<i>tclMacOSXNotify.c: function pointer cast to incompatible type</i> status still Open with 4 other changes
by
.
D 2025-12-03T22:43:09.744
J assignee jan.nijtmans
J icomment >\sI\swonder\sif\sTcl\sshould\sinstead\sjust\sdeclare/define\sNotifierThreadProc()\sas\sthe\sexpected\stype\sand\sremove\sthe\scast\r\n\r\nUnfortunately,\sthat\swouldn't\shelp.\sThe\slast\sfunctions\sin\sNotifierThreadProc()\sis\sa\s"pthread_exit(0)"\scall.\sIf\swe\schange\sthe\ssignature,\swe\sneed\sto\sadd\sa\s"return\sNULL"\sstatement,\swhich\sthen\swould\sbecome\sunreachable,\sso\sanother\swarning\swe\sneed\sto\shandle.\r\n\r\nSo,\sI\sthink\sthat\sthe\sadditional\scast\sis\sthe\sbest\swe\scan\sdo\shere.\r\n\r\nThanks!
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 6f1dd8a1be789a75a3e85f21b5f243ba5620dc5b
U jan.nijtmans
Z dc77f529bf8e87c0a212e51faac6dade