Re: Unable to build emacs 24.4 with libxml2 on Windows

York Zhao <[email protected]>
Newsgroups gmane.emacs.windows,gmane.emacs.devel
Message-ID <CAD3zm22RzbAA+SihtusB76uD4x2UygRxdsm5A3zxuu_xG-DH8A@mail.gmail.com>
This patch worked for me Thanks Claudio Bley.

To Eli Zaretskii, are you going to do anything about this? Or let MinGW to
fix
it?





On Mon, Dec 30, 2013 at 7:58 PM, York Zhao <[email protected]> wrote:

> Hi Eli Zaretskii,
>
> Thanks a lot for the link, I'll take a look. Have no idea why I missed it.
>
>
> On Mon, Dec 30, 2013 at 3:39 PM, Eli Zaretskii <[email protected]> wrote:
>
>> > Date: Mon, 30 Dec 2013 15:19:39 -0500
>> > From: York Zhao <[email protected]>
>> >
>> > Here's the errors I got from "make":
>> >
>> > In file included from d:/emacs.source/src/xml.c:19:0:
>> > ./config.h:1761:19: error: two or more data types in declaration
>> specifiers
>> >  #define mbstate_t int
>> >                    ^
>> > In file included from d:/usr/gtk/include/iconv.h:106:0,
>> >                  from d:/usr/gtk/include/libxml2/libxml/encoding.h:28,
>> >                  from d:/usr/gtk/include/libxml2/libxml/parser.h:807,
>> >                  from d:/usr/gtk/include/libxml2/libxml/globals.h:18,
>> >                  from d:/usr/gtk/include/libxml2/libxml/threads.h:35,
>> >                  from d:/usr/gtk/include/libxml2/libxml/xmlmemory.h:218,
>> >                  from d:/usr/gtk/include/libxml2/libxml/tree.h:1248,
>> >                  from d:/emacs.source/src/xml.c:23:
>> > d:\usr\include\wchar.h:816:32: error: conflicting types for
>> '_wstat64i32'
>> >  __CRT_MAYBE_INLINE int __cdecl _wstat64i32(const wchar_t *fname, struct
>> > _stat64i32 *_stat)
>>
>> See the discussion starting here:
>>
>>   http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00649.html
>>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.