texinfo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation warnings on MinGW due to Gnulib's wcwidth


From: Eli Zaretskii
Subject: Re: Compilation warnings on MinGW due to Gnulib's wcwidth
Date: Fri, 19 Jun 2015 09:48:31 +0300

> Date: Thu, 18 Jun 2015 21:31:33 +0100
> From: Gavin Smith <address@hidden>
> Cc: address@hidden, address@hidden
> 
> 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?

Yes and yes.  This started between 5.9.93 and now.  Didn't we update
our gnulib import since then?

> 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?

Something like that.  And it happens only with some sources that
include wchar.h.  E.g., mbschr.c compiles fine.

> It looks like this is only defined if wchar.h in gnulib indirectly
> includes itself.

Probably.

> 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.

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.

> It could be helpful if you posted the config.log file, and
> gnulib/lib/wchar.h as well.

Attached, including config.h as well.

Attachment: wcwidth-warnings.tar.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]