|
2021-01-04
| ||
| 09:59 | • Closed ticket [43d371ac19]: Usage of exit() without including <stdlib.h> i... artifact: cf4a8e1c20 user: jan.nijtmans | |
|
2020-12-29
| ||
| 23:03 | • Pending ticket [43d371ac19]. artifact: 0034b06daa user: jan.nijtmans | |
| 22:22 | Fix [43d371ac19]: Usage of exit() without including <stdlib.h> in unix/configure check-in: 15f12d1434 user: jan.nijtmans tags: core-8-6-branch | |
| 22:21 | Fix [43d371ac19]: Usage of exit() without including <stdlib.h> in unix/configure check-in: dcfe25bc93 user: jan.nijtmans tags: core-8-5-branch | |
| 19:30 | • New ticket [43d371ac19] Usage of exit() without including <stdlib.h> in un... artifact: fd0aa03ff1 user: chrstphrchvz | |
Usage of exit() without including <stdlib.h> in unix/configure
checking for ANSI C header files... no
This is because the test checking the behavior of islower()/toupper() implicitly declares exit(), which considered an error by Xcode 12 (due to Apple ARM64 ABI requirements). The test should either include <stdlib.h> or alternatively use return instead of exit().
The same issue applies to Tk 8.6's unix/configure. This issue has disappeared on occasion due to usage of more recent autoconf. Tcl/Tk 8.7 and later do not appear to be affected.
15f12d1434Fix [43d371ac19]: Usage of exit() without including <stdlib.h> in unix/configure check-in2020-12-29 22:22:26dcfe25bc93Fix [43d371ac19]: Usage of exit() without including <stdlib.h> in unix/configure check-in2020-12-29 22:21:20
Fixed now in all branches, by directly patching the "configure" script.
Actually, the "autoconf" script which generates "configure" should be adapted to generate this additional include. Will do that later, therefore keeping this ticket to "pending"
Adated Tcl-specific autoconf now: https://sourceforge.net/projects/tcl/files/autoconf, so closing.