Tony Mechelynck wrote:

> On 20/06/12 11:55, Bram Moolenaar wrote:
> >
> > Patch 7.3.557
> > Problem:    Crash when an autocommand wipes out a buffer when it is hidden.
> > Solution:   Restore the current window when needed. (Christian Brabandt)
> > Files:          src/buffer.c
> [...]
> 
> Trying to compile Vim with TINY features:
> 
> link.sh: $LINK_AS_NEEDED set to 'yes': invoking linker directly.
>    gcc   -L/usr/local/lib -Wl,--as-needed -Wl,--as-needed        -o vi 
> objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o 
> objects/digraph.o objects/edit.o objects/eval.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/fold.o objects/getchar.o 
> objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o 
> objects/if_xcmdsrv.o objects/mark.o objects/memline.o objects/menu.o 
> objects/message.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/quickfix.o objects/regexp.o objects/screen.o objects/search.o 
> objects/sha256.o objects/spell.o objects/syntax.o  objects/tag.o 
> objects/term.o objects/ui.o objects/undo.o objects/version.o 
> objects/window.o             objects/main.o objects/memfile.o       -lm 
> -lncurses  -ldl
> objects/buffer.o: In function `set_curbuf':
> buffer.c:(.text+0x220d): undefined reference to `win_valid'
> collect2: ld returned 1 exit status
> link.sh: Linking failed
> make: *** [vi] Error 1
> exit status 2
> 
> Problem does not happen with HUGE features. I suspect that there is a 
> missing #ifdef to omit the change when compiling without +windows.

I'll fix it.

-- 
hundred-and-one symptoms of being an internet addict:
43. You tell the kids they can't use the computer because "Daddy's got work to
    do" and you don't even have a job.

 /// 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

Raspunde prin e-mail lui