On 19 June 2015 at 13:36, Eli Zaretskii <e...@gnu.org> wrote: >> Date: Fri, 19 Jun 2015 13:12:00 +0100 >> From: Gavin Smith <gavinsmith0...@gmail.com> >> Cc: bug-gnulib@gnu.org, texinfo-de...@gnu.org >> >> On 19 June 2015 at 07:48, Eli Zaretskii <e...@gnu.org> wrote: >> > There was no wcwidth.h in texinfo-5.9.93's gnulib; now there is. So >> > the arrangement of how that declaration is pulled in changed >> > significantly since then. >> >> I downloaded the texinfo-5.9.94 pretest >> (http://alpha.gnu.org/gnu/texinfo/), and it doesn't have wcwidth.h >> either: the file is in the repository, but isn't being distributed. > > Then I guess it isn't related to the problem at hand. Sorry for > confusing everybody. > > However, the original issue still needs to be resolved.
It's very hard for me to guess what might be going on on your system. I suggest adding warning directives to wchar.h, like the following: Index: gnulib/lib/wchar.in.h =================================================================== --- gnulib/lib/wchar.in.h (revision 6344) +++ gnulib/lib/wchar.in.h (working copy) @@ -43,10 +43,12 @@ the latter includes <wchar.h>. But here, we have no way to detect whether <wctype.h> is completely included or is still being included. */ +#warning "AAAAAAAA" #@INCLUDE_NEXT@ @NEXT_WCHAR_H@ #else /* Normal invocation convention. */ +#warning "BBBBBBBBBBB" #ifndef _@GUARD_PREFIX@_WCHAR_H which would confirm which parts of the file were being included, and the files that were being included at the time, e.g.: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -Wall -g -O0 -MT printf-args.o -MD -MP -MF $depbase.Tpo -c -o printf-args.o printf-args.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from printf-args.h:41:0, from printf-args.c:29: ./wchar.h:52:2: warning: #warning "BBBBBBBBBBB" [-Wcpp] #warning "BBBBBBBBBBB" ^