Overview
| Artifact ID: | 6802d8713202e33a73fe73fe7ccbe8c709ed010225eb98197b1323fc26ed215b |
|---|---|
| Ticket: | d550f4837a078ff3054d3b00a156d8a11fb628cf
Undeclared exit function in tcl.m4 |
| User & Date: | fweimer on 2022-11-18 08:55:19 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
A change like this one is needed to avoid the implicit function declaration. (This avoids relying on a feature that has been removed from C99.) diff --git a/unix/tcl.m4 b/unix/tcl.m4 index ed12cda75bbc4ad9..d77184421bf8df16 100644 --- a/unix/tcl.m4 +++ b/unix/tcl.m4 @@ -2352,7 +2352,7 @@ AC_DEFUN([SC_TIME_HANDLER], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[extern long timezone; timezone += 1; - exit (0);]])], + return 0;]])], [tcl_cv_timezone_long=yes], [tcl_cv_timezone_long=no])]) if test $tcl_cv_timezone_long = yes ; then AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?]) @@ -2364,7 +2364,7 @@ AC_DEFUN([SC_TIME_HANDLER], [ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[extern time_t timezone; timezone += 1; - exit (0);]])], + return 0;]])], [tcl_cv_timezone_time=yes], [tcl_cv_timezone_time=no])]) if test $tcl_cv_timezone_time = yes ; then AC_DEFINE(HAVE_TIMEZONE_VAR, 1, [Should we use the global timezone variable?]) - is_private changed to: "0"
- login: "fweimer"
- priority changed to: "5 Medium"
- private_contact changed to: "7f85b79b26149a656dc4aa89cb806ddd68c61396"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "fweimer"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "Undeclared exit function in tcl.m4"
- type changed to: "Bug"