Skip to content
Tcl Source Code Artifact [5163a42a79]
Login

Artifact [5163a42a79]

Artifact 5163a42a792ef89d79f2e9a1dcdca2198413b01f60767998ff656202230ecadb:

Ticket change [5163a42a79] - New ticket [15845d9fd8accdf1|15845d9fd8] <i>unix/tcl.m4: implicit declaration of exit() in timezone variable checks</i>. by chrstphrchvz on 2021-11-06 04:18:58.
D 2021-11-06T04:18:58.585
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment The\schecks\sfor\s<tt>long</tt>\stimezone\svariable\sand\s<tt>time_t</tt>\stimezone\svariable\smay\sboth\serroneously\sfail\sdue\sto\scompilers\swhich\sby\sdefault\suse\s<tt>-Werror=implicit-function-declaration</tt>\s(e.g.\sXcode\s12\sand\snewer\son\smacOS,\sas\srequired\sby\sARM64\sABI),\sbecause\sthe\s<tt>exit()</tt>\sfunction\sis\sused\swithout\s<tt>#include\s&lt;stdlib.h&gt;</tt>.\r\n\r\nTo\scorrect\sthis:\sin\sunix/tcl.m4,\seither\sstdlib.h\sshould\sbe\sincluded\sfor\sthese\stests,\sor\s<tt>return\s0;</tt>\sused\sinstead\sof\s<tt>exit\s(0);</tt>.\sThen\sunix/configure\sshould\sthen\sbe\sregenerated\sto\spick\sup\sthe\schanges.
J foundin 8.6.12
J is_private 0
J login chrstphrchvz
J priority 5\sMedium
J resolution None
J severity Minor
J status Open
J submitter chrstphrchvz
J subsystem 53.\sConfiguration\sand\sBuild\sTools
J title unix/tcl.m4:\simplicit\sdeclaration\sof\sexit()\sin\stimezone\svariable\schecks
J type Bug
K 15845d9fd8accdf193b85d54498bfa48dcd275a3
U chrstphrchvz
Z 1a4943c55d2c9563167e2ff9cc39df48