On 8/02/10 6:28 AM, Bram Moolenaar wrote:
I don't think this depends on the OS but on the compiler. I'm building
Vim fine on Windows XP.  That is with MSVC 2010.

We could solve this with a few #ifdefs, I suppose.  But it will mean
that the binary you build with older MSVC won't install/uninstall
properly on 64 bit systems.  We should somehow give a warning about
this and suggest using a newer compiler.

As I mentioned on the Vim Use mailing list, for MinGW (and Cygwin) at least, RegDeleteKeyEx is defined for WINVER >= 0x0502 (Windows XP), but the Make_ming.mak file (and apparently Make_cyg.mak) define WINVER as 0x0400, so RegDeleteKeyEx is undefined unless that value is adjusted.

A simple fix for Cygwin and MinGW would be to change the WINVER value in the corresponding makefiles.

Chris

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui