+2022-01-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ xstrtoimax, xstrtoumax: depend on inttypes-incomplete
+ This fixes a call to strtoimax without declaring it,
+ and similarly for strtoumax.
+ * lib/xstrtoimax.c, lib/xstrtoumax.c (XSTRTOL_INCLUDE_INTTYPES_H):
+ Define, so that strtoimax and strtoumax are declared.
+ * lib/xstrtol.c [XSTRTOL_INCLUDE_INTTYPES_H]: Include inttypes.h.
+ * modules/xstrtoimax, modules/xstrtoumax (Depends-on):
+ Add inttypes-incomplete.
+
2022-01-15 Bruno Haible <bruno@clisp.org>
log tests: Avoid test failure with nvc 22.1.
#define __xstrtol xstrtoimax
#define STRTOL_T_MINIMUM INTMAX_MIN
#define STRTOL_T_MAXIMUM INTMAX_MAX
+#define XSTRTOL_INCLUDE_INTTYPES_H 1
#include "xstrtol.c"
#define __xstrtol xstrtoumax
#define STRTOL_T_MINIMUM 0
#define STRTOL_T_MAXIMUM UINTMAX_MAX
+#define XSTRTOL_INCLUDE_INTTYPES_H 1
#include "xstrtol.c"