unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12878: 24.2; Compiling failed on Windows 7 with VC 11 Express: _WIN32_WINNT version too low
@ 2012-11-13 11:11 李丁
  2012-11-13 16:33 ` Eli Zaretskii
  2017-06-22  1:15 ` npostavs
  0 siblings, 2 replies; 12+ messages in thread
From: 李丁 @ 2012-11-13 11:11 UTC (permalink / raw)
  To: 12878

[-- 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 --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-06-22  1:15 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [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

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).