Eric Blake <[EMAIL PROTECTED]> writes: > At this point, I really think it is easier to generate a replacement > <wchar.h> that takes care of the intricacies,
Yes, I'd like a wchar module that provides wchar.h, so that we can remove HAVE_WCHAR_H from most of the code. > Also, there are 8 files in lib/* that check HAVE_WCHAR_H - is there > really a modern platform that lacks this header? In practice I'd guess almost all GNU targets have <wchar.h> these days. But there's a caveat: the C standard does not require <wchar.h> of freestanding implementations, and officially GCC is freestanding. It could be that some libraries using gnulib will want to port to small environments that lack the full C library. I admit I'm waving my hands here, though; I don't personally know of such an environment being used as a GNU target.