On Sun, Dec 17, 2017 at 2:55 PM, Bram Moolenaar <[email protected]> wrote: > > Tony Mechelynck wrote: > >> Compiler warnings in Tiny but not in Huge after applying Vim 8.0 >> patches 1392 to 1397 >> >> gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall >> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ex_getln.o >> ex_getln.c >> ex_getln.c:180:1: warning: ‘empty_pattern’ defined but not used >> [-Wunused-function] >> empty_pattern(char_u *p) >> ^ >> >> gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall >> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -o objects/ops.o ops.c >> ops.c:1649:1: warning: ‘yank_do_autocmd’ defined but not used >> [-Wunused-function] >> yank_do_autocmd(oparg_T *oap, yankreg_T *reg) >> ^ >> >> Linking proceeds normally. > > Thanks for reporting. For me the build fails. You probably had the > eval feature enabled.
Here are my config settings (sourced, not run, by bash when opening the konsole tab where I shall be doing Tiny compiles): export CONF_OPT_ACL='--disable-acl' export CONF_OPT_GUI='--disable-gui' export CONF_OPT_PERL='--disable-perlinterp' export CONF_OPT_PYTHON='--disable-pythoninterp' export CONF_OPT_PYTHON3='--disable-python3interp' export CONF_OPT_TCL='--disable-tclinterp' export CONF_OPT_RUBY='--disable-rubyinterp' export CONF_OPT_LUA='--disable-luainterp' export CONF_OPT_MZSCHEME='--disable-mzschemeinterp' export CONF_OPT_CSCOPE='--disable-cscope' export CONF_OPT_MULTIBYTE='--disable-multibyte' export CONF_OPT_FEAT='--with-features=tiny' export CONF_OPT_COMPBY='"[email protected]"' export CONF_ARGS='--with-vim-name=vi' In addition, I set -tag_old_static and +xterm_save by means of own-patches to src/feature.h Here are the resulting +/- features listed by "version" (in a later build, thanks for fixing): linux-2iyu:~/.build/vim/vim-hg/src/shadow-tiny # vi --version VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 17 2017 23:24:04) Included patches: 1-1401 Compiled by [email protected] Tiny version without GUI. Features included (+) or not (-): +acl -extra_search -mouse_netterm -tag_old_static -arabic -farsi -mouse_sgr -tag_any_white -autocmd -file_in_path -mouse_sysmouse -tcl -autoservername -find_in_path -mouse_urxvt -termguicolors -balloon_eval -float -mouse_xterm -terminal -balloon_eval_term -folding -multi_byte +terminfo -browse -footer -multi_lang -termresponse +builtin_terms +fork() -mzscheme -textobjects -byte_offset -gettext -netbeans_intg -timers -channel -hangul_input -num64 -title -cindent -iconv +packages -toolbar -clientserver -insert_expand -path_extra -user_commands -clipboard -job -perl +vertsplit -cmdline_compl -jumplist -persistent_undo -virtualedit -cmdline_hist -keymap -printer +visual -cmdline_info -lambda -profile -visualextra -comments -langmap -python -viminfo -conceal -libcall -python3 -vreplace -cryptv -linebreak -quickfix +wildignore -cscope -lispindent -reltime -wildmenu -cursorbind -listcmds -rightleft +windows -cursorshape -localmap -ruby +writebackup -dialog -lua -scrollbind -X11 -diff -menu -signs -xfontset -digraphs -mksession -smartindent -xim -dnd -modify_fname -startuptime -xpm -ebcdic -mouse -statusline -xsmp -emacs_tags -mouse_dec -sun_workshop -xterm_clipboard -eval -mouse_gpm -syntax +xterm_save +ex_extra -mouse_jsbterm +tag_binary system vimrc file: "$VIM/vimrc" user vimrc file: "$HOME/.vimrc" 2nd user vimrc file: "~/.vim/vimrc" user exrc file: "$HOME/.exrc" defaults file: "$VIMRUNTIME/defaults.vim" fall-back for $VIM: "/usr/local/share/vim" Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -fno-strength-reduce -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vi -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lgpm -ldl Looking at it now, I just notice that it says +acl in spite of --disable-acl. Weird. Best regards, Tony. -- -- 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.
