Christian J. Robinson wrote:

> g++-3 -shared -O2 -mno-cygwin -s -o gvimext.dll \
>                  -Wl,--enable-auto-image-base \
>                  -Wl,--enable-auto-import \
>                  -Wl,--whole-archive \
>                          gvimext.o gvimext.res gvimext_ming.def \
>                  -Wl,--no-whole-archive \
>                          -L/lib/w32api -luuid
> [...]/AppData/Local/Temp/ccISkFaJ.o:uninstal.c:(.text+0x44a): undefined 
> reference to `_RegDeleteKeyEx'
> [...message repeats...]
> collect2: ld returned 1 exit status
> make: *** [uninstal.exe] Error 1

I have just pushed a workaround.  No idea if this actually works:

# ifndef KEY_WOW64_64KEY
#  define KEY_WOW64_64KEY 0x0100
#  define RegDeleteKeyEx(a, b, c, d) RegDeleteKey(a, b)
# endif


We might actually need a runtime check too.


-- 
The budget process was invented by an alien race of sadistic beings who
resemble large cats.
                                (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

Raspunde prin e-mail lui