Christian J. Robinson wrote:
> At some point in the last 12 or so hours Vim stopped compiling for me
> when using cygwin to build a "native" Windows binary with OLE enabled:
>
> % make -f Make_cyg.mak -j2 PERL=/cygdrive/c/strawberry/perl DYNAMIC_PERL=yes
> OLE=yes FEATURES=BIG
>
> gcc-3 -c -O3 -fomit-frame-pointer -freg-struct-return -fno-strength-reduce
> -DWIN32 -DHAVE_PATHDEF -DFEAT_BIG -DWINVER=0x0400 -D_WIN32_WINNT=0x0400
> -DFEAT_PERL -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl512.dll\"
> -DDYNAMIC_GETTEXT -DDYNAMIC_ICONV -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME
> -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_OLE
> -march=i386 -Iproto -I/cygdrive/c/strawberry/perl/lib/CORE -s -mno-cygwin
> if_ole.cpp -o gobj/if_ole.o
> if_ole.cpp: In static member function `static CVim* CVim::Create(int*)':
> if_ole.cpp:161: error: `KEY_WOW64_64KEY' undeclared (first use this function)
> if_ole.cpp:161: error: (Each undeclared identifier is reported only once for
> each function it appears in.)
> if_ole.cpp: In function `void RecursiveDeleteKey(HKEY__*, const char*)':
> if_ole.cpp:654: error: `KEY_WOW64_64KEY' undeclared (first use this function)
> if_ole.cpp: In function `void SetKeyAndValue(const char*, const char*, const
> char*)':
> if_ole.cpp:697: error: `KEY_WOW64_64KEY' undeclared (first use this function)
> if_ole.cpp: In function `void InitOLE(int*)':
> if_ole.cpp:756: warning: passing NULL used for non-pointer converting 3 of
> `HRESULT RegisterActiveObject(IUnknown*, const CLSID&, DWORD, DWORD*)'
> make: *** [gobj/if_ole.o] Error 1
>
>
> This is a 64 bit Vista machine, if that helps at all.
The compiler apparently doesn't define the KEY_WOW64_64KEY. I'll add
code for that.
--
Our job was to build a computer information system for the branch banks. We
were the perfect people for the job: Dean had seen a computer once, and I had
heard Dean talk about it.
(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