On 01-Dec-2019 08:48, Bram Moolenaar wrote:
Patch 8.1.2371
Problem:    FEAT_TEXT_PROP is a confusing name.
Solution:   Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
Files:      runtime/doc/popup.txt, src/beval.c, src/buffer.c, src/change.c,
             src/drawline.c, src/drawscreen.c, src/edit.c, src/eval.c,
             src/evalbuffer.c, src/evalfunc.c, src/evalwindow.c, src/ex_cmds.c,
             src/ex_docmd.c, src/feature.h, src/fileio.c, src/getchar.c,
             src/globals.h, src/gui.c, src/gui_w32.c, src/indent.c,
             src/insexpand.c, src/macros.h, src/main.c, src/memline.c,
             src/misc2.c, src/mouse.c, src/move.c, src/ops.c, src/option.h,
             src/optiondefs.h, src/optionstr.c, src/popupmenu.c,
             src/popupwin.c, src/proto.h, src/screen.c, src/search.c,
             src/sign.c, src/structs.h, src/tag.c, src/testdir/runtest.vim,
             src/testdir/test_execute_func.vim, src/testdir/test_popupwin.vim,
             src/testdir/test_popupwin_textprop.vim, src/textprop.c, src/ui.c,
             src/version.c, src/vim.h, src/window.c


After this patch, mingw64 throws these errors if FEAT_QUICKFIX is not defined: gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return ex_cmds.c -o gobjnative/ex_cmds.o
ex_cmds.c: In function 'do_ecmd':
ex_cmds.c:3020:36: error: 'win_T' {aka 'struct window_S'} has no member named 'w_p_pvw'
 3020 |  if (WIN_IS_POPUP(curwin) && curwin->w_p_pvw && retval != FAIL)
      |                                    ^~
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return popupwin.c -o gobjnative/popupwin.o
popupwin.c: In function 'popup_find_preview_window':
popupwin.c:3700:8: error: 'win_T' {aka 'struct window_S'} has no member named 'w_p_pvw'
 3700 |  if (wp->w_p_pvw)
      |        ^~
popupwin.c: In function 'popup_create_preview_window':
popupwin.c:3761:4: error: 'win_T' {aka 'struct window_S'} has no member named 'w_p_pvw'
 3761 |  wp->w_p_pvw = TRUE;
      |    ^~

and these warnings (I haven't got to the bottom of these):
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return drawline.c -o gobjnative/drawline.o
drawline.c: In function 'win_line':
drawline.c:2438:15: warning: 'line_attr' may be used uninitialized in this function [-Wmaybe-uninitialized]
 2438 |   char_attr = hl_combine_attr(extra_attr, line_attr);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return memline.c -o gobjnative/memline.o
In file included from memline.c:45:
memline.c: In function 'ml_append_int':
vim.h:1728:37: warning: 'line' may be used uninitialized in this function [-Wmaybe-uninitialized]  1728 | # define mch_memmove(to, from, len) memmove((char*)(to), (char*)(from), (size_t)(len))
      |                                     ^~~~~~~
memline.c:2777:13: note: 'line' was declared here
 2777 |     char_u *line = line_arg;
      |             ^~~~
memline.c:3284:5: warning: 'tofree' may be used uninitialized in this function [-Wmaybe-uninitialized]
 3284 |     vim_free(tofree);
      |     ^~~~~~~~~~~~~~~~


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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/1c15971b-fd35-3394-d6e7-ed68161f8986%40internode.on.net.

Raspunde prin e-mail lui