From: 李丁 <iamliding@gmail.com>
To: 12878@debbugs.gnu.org
Subject: bug#12878: 24.2; Compiling failed on Windows 7 with VC 11 Express: _WIN32_WINNT version too low
Date: Tue, 13 Nov 2012 19:11:34 +0800 [thread overview]
Message-ID: <CAFEVBLtZNkWdkdYHL9RQxgMsccpmFmOb7ybmgk1vOAEgYOOKaw@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 602 bytes --]
Hi,
I tried to compile emacs 24.2 on Windows 7 with Visual C++ 11.0 Express,
and I found that EnumSystemLocales in w32proc.c and w32select.c were
compiled as is (not as __stdcall function with postfix decorations), which
causes the linking failure.
I read through the sources and found that config.h defined _WIN32_WINNT as
0x0400, which corresponds to Windows NT4. However MSDN says that
EnumSystemLocales requires at least Windows 2000 (0x0500). So you should
probably either require a higher Windows version or use some other
mechanism to accomplish what EnumSystemLocales does.
Regards,
Li Ding
[-- Attachment #2: Type: text/html, Size: 689 bytes --]
next reply other threads:[~2012-11-13 11:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 11:11 李丁 [this message]
2012-11-13 16:33 ` bug#12878: 24.2; Compiling failed on Windows 7 with VC 11 Express: _WIN32_WINNT version too low 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
[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=CAFEVBLtZNkWdkdYHL9RQxgMsccpmFmOb7ybmgk1vOAEgYOOKaw@mail.gmail.com \
--to=iamliding@gmail.com \
--cc=12878@debbugs.gnu.org \
/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.