From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Trunk r117932 build failure on mingw64 Date: Wed, 24 Sep 2014 13:10:10 +0300 Message-ID: <83mw9pwcql.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1411553460 21100 80.91.229.3 (24 Sep 2014 10:11:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Sep 2014 10:11:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andy Moreton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 24 12:10:52 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XWjX2-0006cp-4z for ged-emacs-devel@m.gmane.org; Wed, 24 Sep 2014 12:10:44 +0200 Original-Received: from localhost ([::1]:58599 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWjX1-00058P-Kk for ged-emacs-devel@m.gmane.org; Wed, 24 Sep 2014 06:10:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWjWo-00057H-1D for emacs-devel@gnu.org; Wed, 24 Sep 2014 06:10:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWjWg-0005OB-GN for emacs-devel@gnu.org; Wed, 24 Sep 2014 06:10:29 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWjWg-0005Nz-7T for emacs-devel@gnu.org; Wed, 24 Sep 2014 06:10:22 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NCE00600HDPV500@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Wed, 24 Sep 2014 13:10:14 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCE006BUHL2BGA0@a-mtaout22.012.net.il>; Wed, 24 Sep 2014 13:10:14 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:174681 Archived-At: > From: Andy Moreton > 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.