Tony wrote:

> On Sun, Aug 4, 2019 at 3:04 PM Bram Moolenaar <[email protected]> wrote:
> >
> >
> > Patch 8.1.1807
> > Problem:    More functions can be used as a method.
> > Solution:   Add append(), appendbufline(), assert_equal(), etc.
> >             Also add the :eval command.
> > Files:      runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c,
> >             src/testdir/test_method.vim, src/ex_cmds.h, src/ex_eval.c,
> >             src/proto/ex_eval.pro, src/ex_cmdidxs.h
> 
> This gives a link error (undefined symbol ex_eval in
> objects/ex_docmd.o) when trying to build without +eval:
> 
> link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
>   gcc   -L/usr/local/lib -Wl,--as-needed        -o vi objects/arabic.o
> objects/autocmd.o objects/beval.o objects/buffer.o objects/change.o
> objects/blob.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o
> objects/debugger.o objects/dict.o objects/diff.o objects/digraph.o
> objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o
> objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o
> objects/ex_getln.o objects/fileio.o objects/findfile.o objects/fold.o
> objects/getchar.o objects/hardcopy.o objects/hashtab.o
> objects/highlight.o  objects/if_cscope.o objects/if_xcmdsrv.o
> objects/indent.o objects/insexpand.o objects/list.o objects/map.o
> objects/mark.o objects/memline.o objects/menu.o objects/misc1.o
> objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o
> objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o
> objects/popupmnu.o objects/popupwin.o objects/profiler.o objects/pty.o
> objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o
> objects/session.o objects/sha256.o objects/sign.o objects/sound.o
> objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o
> objects/term.o objects/terminal.o objects/testing.o objects/textprop.o
> objects/ui.o objects/undo.o objects/usercmd.o objects/userfunc.o
> objects/version.o objects/viminfo.o objects/window.o
> objects/xdiffi.o objects/xemit.o objects/xprepare.o objects/xutils.o
> objects/xhistogram.o objects/xpatience.o  objects/charset.o
> objects/json.o objects/main.o objects/memfile.o objects/message.o
> -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lelf
> -lgpm -ldl
> /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
> objects/ex_docmd.o:(.rodata+0x1be8): undefined reference to `ex_eval'
> collect2: error: ld returned 1 exit status
> link.sh: Linking failed
> make: *** [Makefile:2036: vi] Error 1
> exit status 2

Fixed with patch 8.1.1808.

-- 
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201908041430.x74EUV78023236%40masaka.moolenaar.net.

Raspunde prin e-mail lui