On 18 June 2015 at 16:26, Eli Zaretskii <e...@gnu.org> wrote: > Building the current Texinfo trunk tip with MinGW produces a barrage > of compiler warnings like these: > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -Id:/usr/include -gdwarf-4 > -g3 -O2 -MT mbscasecmp.o -MD -MP -MF $depbase.Tpo -c -o mbscasecmp.o > mbscasecmp.c &&\ > mv -f $depbase.Tpo $depbase.Po > In file included from mbuiter.h:106:0, > from mbscasecmp.c:27: > mbchar.h: In function 'mb_width_aux': > mbchar.h:249:3: warning: implicit declaration of function 'wcwidth' > [-Wimplicit-function-declaration] > int w = wcwidth (wc); > ^
I don't suppose you have any idea when this problem could have started? For example, did you manage to compile the texinfo 5.9.93 pretest okay? You think that the #include_next line is being executed, right, and you think this is the case because _GL_ALREADY_INCLUDING_WCHAR_H is defined? It looks like this is only defined if wchar.h in gnulib indirectly includes itself. Looking at http://svn.savannah.gnu.org/viewvc/trunk/gnulib/m4/?root=texinfo and http://svn.savannah.gnu.org/viewvc/trunk/gnulib/lib/?root=texinfo, nothing jumps out there as a recent change that could explain the declaration of wcwidth being missing. It could be helpful if you posted the config.log file, and gnulib/lib/wchar.h as well.