all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: 李丁 <iamliding@gmail.com>
Cc: 12878@debbugs.gnu.org
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	[thread overview]
Message-ID: <83k3thxze6.fsf@gnu.org> (raw)
In-Reply-To: <CAFEVBLuwCEt5J6xX8-m2t-4Fy6jVTQ9Rcd1=rjzn5vbpuZZJ2g@mail.gmail.com>

> Date: Mon, 19 Nov 2012 13:59:54 +0800
> From: 李丁 <iamliding@gmail.com>
> Cc: 12878@debbugs.gnu.org
> 
> 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:
> 
> 1. I need `nmake bootstrap' but in 24.2 release I can compile directly 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, however,
>     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 >= 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, but 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=10749
  http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-02/msg00565.html

> Maybe you can close the previous bug, but for the latest branch, more fixes
> are needed.

Please try the latest emacs-24 branch.  Revision 110917 shoulod have
the above fixes.

Thanks.






  reply	other threads:[~2012-11-19 17:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 11:11 bug#12878: 24.2; Compiling failed on Windows 7 with VC 11 Express: _WIN32_WINNT version too low 李丁
2012-11-13 16:33 ` Eli Zaretskii
2012-11-14  1:14   ` 李丁
2012-11-14  1:32     ` 李丁
2012-11-14  3:53     ` Eli Zaretskii
2012-11-14  7:22       ` 李丁
2012-11-17 18:57     ` Eli Zaretskii
2012-11-19  5:59       ` 李丁
2012-11-19 17:42         ` Eli Zaretskii [this message]
     [not found]           ` <CAFEVBLvU+4+Q6_N4VqH+S9ujK4fkreDqiGPxnxVt=Msm62ZKXw@mail.gmail.com>
2012-11-20 17:09             ` Eli Zaretskii
2012-12-08 12:28             ` Eli Zaretskii
2017-06-22  1:15 ` npostavs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k3thxze6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=12878@debbugs.gnu.org \
    --cc=iamliding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.