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: Anyone building Emacs trunk with MinGW w64 (32 bits) Date: Tue, 26 Mar 2013 15:54:37 +0200 Message-ID: <83k3ouz2oy.fsf@gnu.org> References: <87zjxumbjf.fsf@wanadoo.es> <83vc8f1t0x.fsf@gnu.org> <87sj3jcr6t.fsf@wanadoo.es> <86zjxrs4jm.fsf@gmail.com> <87k3ovcn1r.fsf@wanadoo.es> <87fvzjcles.fsf@wanadoo.es> <83boa71a0u.fsf@gnu.org> <8738vjcgli.fsf@wanadoo.es> <834nfz16cy.fsf@gnu.org> <83wqsuzhxg.fsf@gnu.org> <87k3oubcve.fsf@wanadoo.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1364306081 27053 80.91.229.3 (26 Mar 2013 13:54:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Mar 2013 13:54:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 26 14:55:08 2013 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 1UKULC-0002Tu-Pm for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2013 14:55:07 +0100 Original-Received: from localhost ([::1]:50896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKUKo-00056K-Uc for ged-emacs-devel@m.gmane.org; Tue, 26 Mar 2013 09:54:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKUKf-0004tE-0y for emacs-devel@gnu.org; Tue, 26 Mar 2013 09:54:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKUKY-0005Ax-Q6 for emacs-devel@gnu.org; Tue, 26 Mar 2013 09:54:32 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:35114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKUKY-0005Af-Cs for emacs-devel@gnu.org; Tue, 26 Mar 2013 09:54:26 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MK900E00TAC5I00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Tue, 26 Mar 2013 15:54:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MK900DD3TANZS80@a-mtaout23.012.net.il>; Tue, 26 Mar 2013 15:54:24 +0200 (IST) In-reply-to: <87k3oubcve.fsf@wanadoo.es> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 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:158212 Archived-At: > From: =D3scar Fuentes > Date: Tue, 26 Mar 2013 12:48:37 +0100 >=20 > gcc -I. -c -gdwarf-2 -g3 -mtune=3Dpentium4 -O2 -isystemc:/apps/= GnuWin32/include -Demacs=3D1 -I../lib -I../nt/inc -DUSE_CRT_DLL=3D1 -= DPURESIZE=3D5000000 -o oo-spd/i386/w32.o w32.c > In file included from w32.c:32:0: > ../nt/inc/sys/time.h:27:45: warning: 'struct timeval' declared insi= de parameter list [enabled by default] > ../nt/inc/sys/time.h:27:45: warning: its scope is only this definit= ion or declaration, which is probably not what you want [enabled by d= efault] > ../nt/inc/sys/time.h:34:19: error: field 'it_interval' has incomple= te type > ../nt/inc/sys/time.h:35:19: error: field 'it_value' has incomplete = type > In file included from w32.c:35:0: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/time.h:260:8: error: redefinition of '= struct timezone' > In file included from w32.c:32:0: > ../nt/inc/sys/time.h:20:8: note: originally defined here Still working on this part. > In file included from ./conf_post.h:32:0, > from ./config.h:1726, > from w32.c:39: > ../nt/inc/ms-w32.h:134:0: warning: "_WIN32_WINNT" redefined [enable= d by default] >=20 > In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/../../../../i686-w64-mingw32/include/crtdefs.h:10:0, > from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/../../../../i686-w64-mingw32/include/stddef.h:7, > from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/include/stddef.h:1, > from w32.c:22: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/_mingw.h:252:0: note: this is the loca= tion of the previous definition > w32.c:73:0: warning: "_ANONYMOUS_UNION" redefined [enabled by defau= lt] > In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/../../../../i686-w64-mingw32/include/crtdefs.h:10:0, > from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/../../../../i686-w64-mingw32/include/stddef.h:7, > from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/include/stddef.h:1, > from w32.c:22: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/_mingw.h:575:0: note: this is the loca= tion of the previous definition > w32.c:74:0: warning: "_ANONYMOUS_STRUCT" redefined [enabled by defa= ult] > In file included from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/../../../../i686-w64-mingw32/include/crtdefs.h:10:0, > from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/../../../../i686-w64-mingw32/include/stddef.h:7, > from c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w6= 4-mingw32/4.7.2/include/stddef.h:1, > from w32.c:22: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/_mingw.h:576:0: note: this is the loca= tion of the previous definition > w32.c:103:16: error: redefinition of 'struct _PROCESS_MEMORY_COUNTE= RS_EX' > In file included from w32.c:95:0: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/psapi.h:84:18: note: originally define= d here > w32.c:115:3: error: conflicting types for 'PROCESS_MEMORY_COUNTERS_= EX' > In file included from w32.c:95:0: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/psapi.h:96:5: note: previous declarati= on of 'PROCESS_MEMORY_COUNTERS_EX' was here > w32.c:115:31: error: conflicting types for 'PPROCESS_MEMORY_COUNTER= S_EX' > In file included from w32.c:95:0: > c:\apps\msys\1.0\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/../../= ../../i686-w64-mingw32/include/psapi.h:97:39: note: previous declarat= ion of 'PPROCESS_MEMORY_COUNTERS_EX' was here These should hopefully be fixed with the latest trunk, please check. > w32.c:2392:1: error: conflicting types for 'gettimeofday' > In file included from w32.c:32:0: > ../nt/inc/sys/time.h:27:6: note: previous declaration of 'gettimeof= day' was here This is due to the same problem as the first error above, so not fixe= d yet. > w32.c:3216:1: warning: 'sys_chmod' redeclared without dllimport att= ribute: previous dllimport ignored [-Wattributes] This should now be fixed, please check. > w32.c: In function 'readlink': > w32.c:4725:7: error: unknown type name 'REPARSE_DATA_BUFFER' > w32.c:4725:44: error: 'REPARSE_DATA_BUFFER' undeclared (first use i= n this function) This got me puzzled: the definition of REPARSE_DATA_BUFFER is now guarded by this: #ifndef MAXIMUM_REPARSE_DATA_BUFFER_SIZE Are you saying that MAXIMUM_REPARSE_DATA_BUFFER_SIZE is defined in th= e MinGW64 build, but REPARSE_DATA_BUFFER is not? Which MinGW64 headers define MAXIMUM_REPARSE_DATA_BUFFER_SIZE and REPARSE_DATA_BUFFER? Thanks.