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
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- 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 <stdlib.h></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.
- foundin changed to: "8.6.12"
- 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:
unix/tcl.m4: implicit declaration of exit() in timezone variable checks
- type changed to: "Bug"