On 01-Dec-2019 09:30, John Marriott wrote:
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
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);
| ^~~~~~~~~~~~~~~~
These warnings go away if FEAT_PROP_POPUP is not defined.
--
--
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/45dcf20b-83cd-fca0-e6b7-5d5f4a9833be%40internode.on.net.