[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in 1.13.25
From: |
Albert Chin-A-Young |
Subject: |
Bug in 1.13.25 |
Date: |
Mon, 8 Apr 2002 18:46:38 -0500 |
User-agent: |
Mutt/1.2.5i |
On HP-UX 10.20 and 11.00 with the HP C compiler:
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl +O2 -Ae -z +ESlit
+Onofltacc +DAportable +Oentrysched +Odataprefetch +Onolimit -c `test
-f xstrtoimax.c || echo './'`xstrtoimax.c
cpp: "xstrtol.c", line 90: warning 2005: strtoimax: Too few parameters
(1) to macro.
cc: "xstrtol.c", line 90: error 1000: Unexpected symbol: ",".
cc: "xstrtol.c", line 90: error 1506: Parameters allowed in function
definition only.
This is because <inttypes.h> has:
#define strtoimax(__a, __b, __c) __strtoll(__a, __b, __c)
Easy enough to fix. I've also fixed up an autoconf 2.53 warning about
LIBOBJS.
--
albert chin (address@hidden)
-- snip snip
--- configure.ac.orig Mon Apr 8 18:38:23 2002
+++ configure.ac Mon Apr 8 18:42:16 2002
@@ -156,6 +156,7 @@
AC_CHECK_TYPE(ssize_t, , AC_DEFINE(ssize_t, int,
[Type of sizes or error indications.]))
jm_AC_TYPE_UINTMAX_T
+jm_AC_PREREQ_XSTRTOIMAX
jm_AC_PREREQ_XSTRTOUMAX
jm_PREREQ_ADDEXT
jm_PREREQ_ERROR
@@ -233,7 +234,7 @@
jm_FUNC_MALLOC
jm_FUNC_MKTIME
jm_FUNC_REALLOC
-test "$ac_cv_func_strstr" = yes || LIBOBJS="$LIBOBJS strstr.o"
+test "$ac_cv_func_strstr" = yes || AC_LIBOBJ([strstr])
AC_CACHE_CHECK(for remote shell, tar_cv_path_RSH,
[if test -n "$RSH"; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug in 1.13.25,
Albert Chin-A-Young <=