<i>Usage of exit() without including <stdlib.h> in unix/configure</i>.
by
.
D 2020-12-29T19:30:56.886
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment Using\sXcode\s12\sor\slater\son\smacOS,\sunix/configure\sreports:\r\n\r\n<tt>checking\sfor\sANSI\sC\sheader\sfiles...\sno</tt>\r\n\r\nThis\sis\sbecause\sthe\stest\schecking\sthe\sbehavior\sof\s<tt>islower()</tt>/<tt>toupper()</tt>\simplicitly\sdeclares\s<tt>exit()</tt>,\swhich\sconsidered\san\serror\sby\sXcode\s12\s(due\sto\sApple\sARM64\sABI\srequirements).\sThe\stest\sshould\seither\sinclude\s<stdlib.h>\sor\salternatively\suse\s<tt>return</tt>\sinstead\sof\s<tt>exit()</tt>.\r\n\r\nThe\ssame\sissue\sapplies\sto\sTk\s8.6's\sunix/configure.\sThis\sissue\shas\sdisappeared\son\soccasion\sdue\sto\susage\sof\smore\srecent\sautoconf.\sTcl/Tk\s8.7\sand\slater\sdo\snot\sappear\sto\sbe\saffected.
J foundin core-8-6-branch
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 Usage\sof\sexit()\swithout\sincluding\s<stdlib.h>\sin\sunix/configure
J type Bug
K 43d371ac19014f6f3a15f0ed1757794a7ff9d76d
U chrstphrchvz
Z 64bc6cf7954943bd16505077474a1880