Ben Fritz wrote:

> On Mon, Jun 22, 2015 at 11:38 PM, Ben Fritz <[email protected]> wrote:
> >
> > Today I noticed that I can no longer compile gvimext.dll, due to the code
> > added in patch 724.
> >
> > I compile with MinGW as follows:
> >
> > make -f Make_ming.mak -j%NUMBER_OF_PROCESSORS% GUI=yes FEATURES=HUGE
> > PYTHON="C:/Python27" PYTHON_VER=27 DYNAMIC_PYTHON=yes DEBUG=yes
> > LUA="C:/LUA/lua-5.2.3" LUA_VER=52
> >
> > Leading to the following error:
> >
> > gvimext.cpp: In member function 'virtual HRESULT
> > CShellExt::QueryContextMenu(HMENU, UINT, UINT, UINT, UINT)':
> > gvimext.cpp:654:6: error: 'MENUITEMINFO' has no member named 'hbmpItem'
> >
> > Commenting out the if (showIcons) code block at line 651 lets the code
> > compile, but obviously I'm missing that functionality now.
> >
> 
> Wow, it's hard to believe this has still not been fixed.
> 
> I finally grabbed a git checkout of the Vim source and ran into this again,
> because I'd forgotten about my hacked "solution".
> 
> The attached patch fixes it in a much better way. For some reason the
> makefile for gvimext was omitting _WIN32_WINNT (as suggested by Bram) even
> though the makefile for Vim itself sets the value.
> 
> I updated the gvimext makefile to more closely match the Vim makefile.

Thanks.  I'll include this now.

-- 
I learned the customs and mannerisms of engineers by observing them, much the
way Jane Goodall learned about the great apes, but without the hassle of
grooming.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui