emacs-devel
[Top][All Lists]
Advanced

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

Re: Trunk r117932 build failure on mingw64


From: Eli Zaretskii
Subject: Re: Trunk r117932 build failure on mingw64
Date: Wed, 24 Sep 2014 13:10:10 +0300

> From: Andy Moreton <address@hidden>
> Date: Wed, 24 Sep 2014 10:28:39 +0100
> 
> The changes in r117932 break the mingw64 64bit build:

It was already broken, you just didn't know that.  We were assigning a
64-bit value to a 32-bit struct member.  The static assertion added by
Dmitry simply made that problem stare in our face.

> gcc -std=gnu99  -c -mtune=generic   -DUSE_CRT_DLL=1 -I 
> /c/emacs/src/emacs/trunk/obj-mingw64/../nt/inc -Demacs  -I. -I../../src 
> -I../lib -I../../lib  -mtune=generic    -pthread -mms-bitfields 
> -I/mingw64/include/librsvg-2.0 -I/mingw64/include/gdk-pixbuf-2.0 
> -I/mingw64/include/libpng16 -I/mingw64/include/cairo 
> -I/mingw64/include/glib-2.0 -I/mingw64/lib/glib-2.0/include 
> -I/mingw64/include/pixman-1 -I/mingw64/include -I/mingw64/include/freetype2 
> -I/mingw64/include -I/mingw64/include/libpng16 -I/mingw64/include/harfbuzz 
> -I/mingw64/include -I/mingw64/include/freetype2 -I/mingw64/include/libpng16   
>  -I/mingw64/include/libxml2           -MMD -MF deps/dispnew.d -MP 
> -I/mingw64/include -I/mingw64/include/p11-kit-1 -I/mingw64/include     -O0 
> -g3  ../../src/dispnew.c
> In file included from ../../src/lisp.h:33:0,
>                  from ../../src/dispnew.c:26:
> ../../lib/verify.h:207:21: error: static assertion failed: "verify (sizeof 
> (Time) == sizeof (ptrdiff_t))"
>  # define _GL_VERIFY _Static_assert
>                      ^
> ../../lib/verify.h:251:19: note: in expansion of macro '_GL_VERIFY'
>  #define verify(R) _GL_VERIFY (R, "verify (" #R ")")
>                    ^
> ../../src/termhooks.h:292:1: note: in expansion of macro 'verify'
>  verify (sizeof (Time) == sizeof (ptrdiff_t));
>  ^

Fixed in trunk revision 117933.



reply via email to

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