Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5163a42a792ef89d79f2e9a1dcdca2198413b01f60767998ff656202230ecadb
Ticket: 15845d9fd8accdf193b85d54498bfa48dcd275a3
unix/tcl.m4: implicit declaration of exit() in timezone variable checks
User & Date: chrstphrchvz on 2021-11-06 04:18:58
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    The checks for <tt>long</tt> timezone variable and <tt>time_t</tt> timezone variable may both erroneously fail due to compilers which by default use <tt>-Werror=implicit-function-declaration</tt> (e.g. Xcode 12 and newer on macOS, as required by ARM64 ABI), because the <tt>exit()</tt> function is used without <tt>#include &lt;stdlib.h&gt;</tt>.
    
    To correct this: in unix/tcl.m4, either stdlib.h should be included for these tests, or <tt>return 0;</tt> used instead of <tt>exit (0);</tt>. Then unix/configure should then be regenerated to pick up the changes.
    
  5. foundin changed to: "8.6.12"
  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:
    unix/tcl.m4: implicit declaration of exit() in timezone variable checks
    
  15. type changed to: "Bug"