Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. 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 &lt;stdlib.h&gt; 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.
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "chrstphrchvz"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "chrstphrchvz"
  13. subsystem changed to: "53. Configuration and Build Tools"
  14. title changed to:
    Usage of exit() without including <stdlib.h> in unix/configure
    
  15. type changed to: "Bug"