[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation warnings on MinGW due to Gnulib's wcwidth
From: |
Gavin Smith |
Subject: |
Re: Compilation warnings on MinGW due to Gnulib's wcwidth |
Date: |
Fri, 19 Jun 2015 15:03:17 +0100 |
On 19 June 2015 at 13:36, Eli Zaretskii <address@hidden> wrote:
>> Date: Fri, 19 Jun 2015 13:12:00 +0100
>> From: Gavin Smith <address@hidden>
>> Cc: address@hidden, address@hidden
>>
>> On 19 June 2015 at 07:48, Eli Zaretskii <address@hidden> 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"
address@hidden@ @NEXT_WCHAR_H@
#else
/* Normal invocation convention. */
+#warning "BBBBBBBBBBB"
#ifndef address@hidden@_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"
^
- Compilation warnings on MinGW due to Gnulib's wcwidth, Eli Zaretskii, 2015/06/18
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Gavin Smith, 2015/06/18
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Eli Zaretskii, 2015/06/19
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Gavin Smith, 2015/06/19
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Gavin Smith, 2015/06/19
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Eli Zaretskii, 2015/06/19
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Gavin Smith, 2015/06/19
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Eli Zaretskii, 2015/06/20
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth,
Gavin Smith <=
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Eli Zaretskii, 2015/06/20
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Paul Eggert, 2015/06/21
- Re: Compilation warnings on MinGW due to Gnulib's wcwidth, Eli Zaretskii, 2015/06/20