John Marriott wrote: > On 02-Mar-2017 01:07, Bram Moolenaar wrote: > > Patch 8.0.0392 > > Problem: GUI test fails with Athena and Motif. > > Solution: Add test_ignore_error(). Use it to ignore the "failed to create > > input context" error. > > Files: src/message.c, src/proto/message.pro, src/evalfunc.c, > > src/testdir/test_gui.vim, runtime/doc/eval.txt > > > > > > > After applying this patch, gcc (mingw64) throws this error: > ... > gcc -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF > -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -pipe > -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return -s > -Wl,-nxcompat,-dynamicbase -mwindows -o gvim.exe gobjnative/arabic.o > gobjnative/blowfish.o gobjnative/buffer.o gobjnative/charset.o > gobjnative/crypt.o gobjnative/crypt_zip.o gobjnative/dict.o > gobjnative/diff.o gobjnative/digraph.o gobjnative/edit.o > gobjnative/eval.o gobjnative/evalfunc.o gobjnative/ex_cmds.o > gobjnative/ex_cmds2.o gobjnative/ex_docmd.o gobjnative/ex_eval.o > gobjnative/ex_getln.o gobjnative/farsi.o gobjnative/fileio.o > gobjnative/fold.o gobjnative/getchar.o gobjnative/hardcopy.o > gobjnative/hashtab.o gobjnative/json.o gobjnative/list.o > gobjnative/main.o gobjnative/mark.o gobjnative/memfile.o > gobjnative/memline.o gobjnative/menu.o gobjnative/message.o > gobjnative/misc1.o gobjnative/misc2.o gobjnative/move.o > gobjnative/mbyte.o gobjnative/normal.o gobjnative/ops.o > gobjnative/option.o gobjnative/os_win32.o gobjnative/os_mswin.o > gobjnative/winclip.o gobjnative/pathdef.o gobjnative/popupmnu.o > gobjnative/quickfix.o gobjnative/regexp.o gobjnative/screen.o > gobjnative/search.o gobjnative/sha256.o gobjnative/spell.o > gobjnative/spellfile.o gobjnative/syntax.o gobjnative/tag.o > gobjnative/term.o gobjnative/ui.o gobjnative/undo.o > gobjnative/userfunc.o gobjnative/version.o gobjnative/vimrc.o > gobjnative/window.o gobjnative/gui.o gobjnative/gui_w32.o > gobjnative/gui_beval.o gobjnative/os_w32exe.o -lkernel32 -luser32 > -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lversion -lole32 -luuid > gobjnative/message.o:message.c:(.text+0xfe9): undefined reference to > `ga_add_string' > collect2.exe: error: ld returned 1 exit status > Make_cyg_ming.mak:843: recipe for target 'gvim.exe' failed > make: *** [gvim.exe] Error 1 > > The ga_add_string() function is called from ignore_error_for_testing() > (which lives in message.c). This function is included conditionally on > FEAT_EVAL being defined. > The ga_add_string() function (which lives in misc2.c) is included > conditionally on FEAT_VIMINFO or PROTO being defined. The patch adds > FEAT_VIMINFO to that list.
You mean FEAT_EVAL. Thanks for the fix. -- hundred-and-one symptoms of being an internet addict: 37. You start looking for hot HTML addresses in public restrooms. /// 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.
