Overview
| Artifact ID: | fd0aa03ff1b5caf4c150dd8daf5d679490e2865d5ca916f8f31870ed9361677a |
|---|---|
| Ticket: | 43d371ac19014f6f3a15f0ed1757794a7ff9d76d
Usage of exit() without including <stdlib.h> in unix/configure |
| User & Date: | chrstphrchvz on 2020-12-29 19:30:56 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Using Xcode 12 or later on macOS, unix/configure reports: <tt>checking for ANSI C header files... no</tt> This is because the test checking the behavior of <tt>islower()</tt>/<tt>toupper()</tt> implicitly declares <tt>exit()</tt>, which considered an error by Xcode 12 (due to Apple ARM64 ABI requirements). The test should either include <stdlib.h> or alternatively use <tt>return</tt> instead of <tt>exit()</tt>. 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.
- foundin changed to: "core-8-6-branch"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
Usage of exit() without including <stdlib.h> in unix/configure
- type changed to: "Bug"