bug-gnulib
[Top][All Lists]
Advanced

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

RE: stdint broken on mingw


From: T J
Subject: RE: stdint broken on mingw
Date: Sat, 31 Dec 2016 04:37:49 +0000

With some further investigation, I think I know what is happening now.

 

In my build script, I include the path /mingw32/share/aclocal as an aclocal search path. It so happens that this contains wint_t.m4, and this version does not have the GNULIB_OVERRIDES_WINT_T section in it. So bootstrap is actually including this file instead of the one provided by gnulib.

 

Some further digging shows that this file is installed by gettext:

 

$pacman -Qo /mingw32/share/aclocal/wint_t.m4

/mingw32/share/aclocal/wint_t.m4 is owned by mingw-w64-i686-gettext 0.19.7-1

 

 

Thanks,

Jeremy

From: T J
Sent: Saturday, 31 December 2016 9:50 AM
To: Bruno Haible; address@hidden
Subject: RE: stdint broken on mingw

 

Hi Bruno,

 

This is the output:

 

$grep -n GNULIB_OVERRIDES_WINT_T config.status lib/Makefile

lib/Makefile:2041:            -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \

lib/Makefile:2722:            -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \

 

Thanks,

Jeremy

 

From: Bruno Haible
Sent: Friday, 30 December 2016 9:51 PM
To: T J; address@hidden
Subject: Re: stdint broken on mingw

 

Hi,

> In particular, this is the generated from stdint.h:
>
> > /* Override WINT_MIN and WINT_MAX if gnulib's <wchar.h> or <wctype.h> overrides
>    wint_t.  */
> > #if
> > # undef WINT_MIN

I don't understand how, given the existing code, @GNULIB_OVERRIDES_WINT_T@ can
be substituted with an empty string.

Can you please show the result of

$ grep -n GNULIB_OVERRIDES_WINT_T config.status lib/Makefile

Thanks.

        Bruno

reply via email to

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