On Tue, 2013 Oct 8 23:29-0700, Paul Eggert wrote: > Thanks, I pushed the following, which I hope fixes the problem > in a slightly-more-general way.
Not quite, I'm afraid: source='../../gllib/strtoimax.c' object='strtoimax.o' libtool=no \ DEPDIR=.deps depmode=none /bin/sh ../../build-aux/depcomp \ cc -DHAVE_CONFIG_H -I. -I../../gllib -I.. -DGNULIB_STRICT_CHECKING=1 -D_HPUX_API_LEVEL=20040821 -DTG_NO_INLINE -Ae +DD64 +DO11.0 +ESconstlit +ESlit +w1 -z +O3 -c -o strtoimax.o ../../gllib/strtoimax.c cc: "../../gllib/strtoimax.c", line 65: error 1000: Unexpected symbol: "strtol". cc: "../../gllib/strtoimax.c", line 65: error 1584: Inconsistent type declaration: "intmax_t". cc: panic 2017: Cannot recover from earlier errors, terminating. gmake[4]: *** [strtoimax.o] Error 1 I think the problem is that strtoimax/strtoumax are macros, so Strtoimax is still expanding into something unexpected: $ grep strtoimax /usr/include/inttypes.h #define strtoimax(__a, __b, __c) __strtoll(__a, __b, __c) #define strtoimax(__a, __b, __c) (intmax_t)strtol(__a, __b, __c) $ grep strtoumax /usr/include/inttypes.h #define strtoumax(__a, __b, __c) __strtoull(__a, __b, __c) #define strtoumax(__a, __b, __c) (uintmax_t)strtoul(__a, __b, __c) --Daniel -- Daniel Richard G. || sk...@iskunk.org My ASCII-art .sig got a bad case of Times New Roman.