From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12878: 24.2; Compiling failed on Windows 7 with VC 11 Express: _WIN32_WINNT version too low Date: Mon, 19 Nov 2012 19:42:41 +0200 Message-ID: <83k3thxze6.fsf@gnu.org> References: <83haotv4wf.fsf@gnu.org> <834nko2h2h.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1353347064 15643 80.91.229.3 (19 Nov 2012 17:44:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2012 17:44:24 +0000 (UTC) Cc: 12878@debbugs.gnu.org To: =?UTF-8?Q?=E6=9D=8E=E4=B8=81?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 19 18:44:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TaVOc-0000fw-E3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 18:44:34 +0100 Original-Received: from localhost ([::1]:53723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaVOO-0002LT-NM for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Nov 2012 12:44:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaVOF-0002Io-Op for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:44:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaVO5-0005Kr-9s for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:44:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TaVO5-0005J1-74 for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:44:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TaVP4-00033g-2i for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 12:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Nov 2012 17:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12878 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12878-submit@debbugs.gnu.org id=B12878.135334707411703 (code B ref 12878); Mon, 19 Nov 2012 17:45:01 +0000 Original-Received: (at 12878) by debbugs.gnu.org; 19 Nov 2012 17:44:34 +0000 Original-Received: from localhost ([127.0.0.1]:55365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaVOb-00032i-PZ for submit@debbugs.gnu.org; Mon, 19 Nov 2012 12:44:34 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:36979) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaVOZ-00032X-5p for 12878@debbugs.gnu.org; Mon, 19 Nov 2012 12:44:32 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MDQ00E00X3NC100@a-mtaout22.012.net.il> for 12878@debbugs.gnu.org; Mon, 19 Nov 2012 19:43:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MDQ00DF2X7RS4A0@a-mtaout22.012.net.il>; Mon, 19 Nov 2012 19:43:04 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67167 Archived-At: > Date: Mon, 19 Nov 2012 13:59:54 +0800 > From: =C0=EE=B6=A1 > Cc: 12878@debbugs.gnu.org >=20 > I checked out the latest branch (r 110913), it seems that you miss = a > semicolon at line 761 in w32term.h. Oops! Fixed. > There are more problems: >=20 > 1. I need `nmake bootstrap' but in 24.2 release I can compile direc= tly with > `nmake' Do you mean that you need "nmake bootstrap" for _every_ change you make in any of the files? If so, please tell what error messages do you see if you make some change in one C file and run Nmake normally, without bootstrapping. > 2. In lisp.h it begins to define ARRAY_MARK_FLAG as PTRDIFF_MIN, ho= wever, > definition of PTRDIFF_MIN is in stdint.h, which is not included= . And > even if included, in nt/inc/stdint.h, > various *_MIN (including PTRDIFF_MIN) are not defined stdint.h is included by inttypes.h, which _is_ included by lisp.h. I added to nt/inc/stdint.h a suitable definition of PTRDIFF_MIN. > 3. In w32.c DeviceIoControl, it uses a FSCTL_GET_REPARSE_POINT that= is only > defined for _MSC_VER >=3D 0x0500 I added the missing definitions to w32.c. > 4. In xdisp.c, start_hourglass function, w32_note_current_window is > declared (as extern) and used in the middle of > the function, causing an error message. Move the declaration to= the > beginning of the function solved the problem. Fixed. > After fixing the above problems, finally I can make a temacs.exe, b= ut while > loading subr.el, temacs reported an > error message saying `Invalid funtion: "DEAD"'. I do not know where= the > function `dead' comes from. This indicates some problems with GC, perhaps alignment. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10749 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-02/msg00565.ht= ml > Maybe you can close the previous bug, but for the latest branch, mo= re fixes > are needed. Please try the latest emacs-24 branch. Revision 110917 shoulod have the above fixes. Thanks.