John Beckett wrote:
> A recent change to uninstal.c breaks building Vim on 32-bit Windows.
>
> These changes:
> hg diff -r 573da4dac306:b204ac54bea4 src/uninstal.c
>
> involve replacing RegDeleteKey with RegDeleteKeyEx
>
> Problem occurs with Windows XP 32-bit, using MS Visual C 6.0, command:
> nmake -f Make_mvc.mak
>
> Build stops at:
> uninstal.obj : error LNK2001: unresolved external symbol _RegDeleteKeyEx
>
> I think RegDeleteKeyEx requires Vista or later, or XP x64.
> I don't need uninstal, but it breaks the build.
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.
For that #ifdef we need to know which compiler supports the new
function.
--
I recommend ordering large cargo containers of paper towels to make up
whatever budget underruns you have. Paper products are always useful and they
have the advantage of being completely flushable if you need to make room in
the storage area later.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
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