John Marriott wrote:

> On 24-Jul-2017 03:51, Bram Moolenaar wrote:
> > Patch 8.0.0761
> > Problem:    Options of a buffer for a terminal window are not set properly.
> > Solution:   Add "terminal" value for 'buftype'.  Make 'buftype' and
> >              'bufhidden' not depend on the quickfix feature.
> >              Also set the buffer name and show "running" or "finished" in 
> > the
> >              window title.
> > Files:      src/option.c, src/terminal.c, src/proto/terminal.pro,
> >              runtime/doc/options.txt, src/quickfix.c, 
> > src/proto/quickfix.pro,
> >              src/structs.h, src/buffer.c, src/ex_docmd.c, src/fileio.c,
> >              src/channel.c
> >
> After this patch mingw (gcc v7.1.0 x64) gives this error:
> ...
> gcc -c -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 option.c -o gobjnative/option.o
> option.c:721:25: error: 'PV_BH' undeclared here (not in a function); did 
> you mean 'PV_BL'?
>          (char_u *)&p_bh, PV_BH,
> ^~~~~
> PV_BL
> option.c:729:25: error: 'PV_BT' undeclared here (not in a function); did 
> you mean 'PV_BH'?
>          (char_u *)&p_bt, PV_BT,
> ^~~~~
> PV_BH
> ...
> 
> This attached patches try to fix it. Please check.

Thanks!

-- 
hundred-and-one symptoms of being an internet addict:
226. You sit down at the computer right after dinner and your spouse
     says "See you in the morning."

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

Raspunde prin e-mail lui