Bruno Haible <br...@clisp.org> writes: > Simon Josefsson wrote: >> Bruno, what do you think about simply deprecating the size_max module? > > This would cause problems in libintl. The intl/ directory, when shipped > as part of a package that used gettextize, should not create its own copy > of stdint.h.
Btw, why not? It seems it could create it under, say, intl/gl/ > But the intl/ directory contains vasnprintf.c, which depends on > xsize.h, which needs a definition of SIZE_MAX. For this reason, > xsize.h arranges to get a correct SIZE_MAX in the cheapest possible > way. How about clarifying the intentions behind the size_max module a bit better? It seems most applications will want to include stdint.h and depend on the stdint gnulib module, rather than using the gnulib size_max module. /Simon diff --git a/modules/size_max b/modules/size_max index df4b1bc..1981b6c 100644 --- a/modules/size_max +++ b/modules/size_max @@ -1,5 +1,5 @@ Description: -Provide SIZE_MAX. +Provide SIZE_MAX without using the gnulib stdint module. Files: m4/size_max.m4