John Marriott wrote: > This patch fails to compile on Windows (but I suspect the problem is not > restricted that platform) if FEAT_MULTI_LANG is not defined: > > <snip> > gcc -c -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 > -DHAVE_PATHDEF -DFEAT_BIG -DFEAT_MBYTE -pipe -w -march=native -Wall -O3 > -fomit-frame-pointer -freg-struct-return -s menu.c -o obj/menu.o > menu.c: In function 'get_menu_name': > menu.c:1343: error: 'should_advance' undeclared (first use in this function) > menu.c:1343: error: (Each undeclared identifier is reported only once > menu.c:1343: error: for each function it appears in.) > menu.c: In function 'get_menu_names': > menu.c:1404: error: 'should_advance' undeclared (first use in this function) > menu.c: In function 'menu_name_equal': > menu.c:1509: error: 'vimmenu_T' has no member named 'en_name' > menu.c:1510: error: 'vimmenu_T' has no member named 'en_name' > menu.c:1511: error: 'vimmenu_T' has no member named 'en_dname' > make: *** [obj/menu.o] Error 1 > </snip> > > The attached patch seems to fix it.
Thanks! -- hundred-and-one symptoms of being an internet addict: 42. Your virtual girlfriend finds a new net sweetheart with a larger bandwidth. /// 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
