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.
Cheers
John

--
--
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.
--- option.c.orig       2017-07-24 05:41:30.904936000 +1000
+++ option.c    2017-07-24 06:04:28.270181200 +1000
@@ -57,9 +57,9 @@
 #define PV_AI          OPT_BUF(BV_AI)
 #define PV_AR          OPT_BOTH(OPT_BUF(BV_AR))
 #define PV_BKC         OPT_BOTH(OPT_BUF(BV_BKC))
+#define PV_BH          OPT_BUF(BV_BH)
+#define PV_BT          OPT_BUF(BV_BT)
 #ifdef FEAT_QUICKFIX
-# define PV_BH         OPT_BUF(BV_BH)
-# define PV_BT         OPT_BUF(BV_BT)
 # define PV_EFM                OPT_BOTH(OPT_BUF(BV_EFM))
 # define PV_GP         OPT_BOTH(OPT_BUF(BV_GP))
 # define PV_MP         OPT_BOTH(OPT_BUF(BV_MP))
--- option.h.orig       2017-07-16 05:25:01.311136500 +1000
+++ option.h    2017-07-24 06:11:06.920767800 +1000
@@ -988,12 +988,10 @@
 {
     BV_AI = 0
     , BV_AR
-#ifdef FEAT_QUICKFIX
     , BV_BH
-#endif
     , BV_BKC
-#ifdef FEAT_QUICKFIX
     , BV_BT
+#ifdef FEAT_QUICKFIX
     , BV_EFM
     , BV_GP
     , BV_MP

Raspunde prin e-mail lui