John Marriott wrote:
> On 08-Oct-2022 01:11, Bram Moolenaar wrote:
> > Patch 9.0.0683
> > Problem: Cannot specify a time for :echowindow.
> > Solution: A count can be used to specify the display time. Add
> > popup_findecho().
> > Files: runtime/doc/eval.txt, runtime/doc/popup.txt,
> > runtime/doc/builtin.txt, runtime/doc/usr_41.txt, src/eval.c,
> > src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c,
> > src/ex_cmds.h, src/vim9.h, src/vim9compile.c,
> > src/vim9execute.c,
> > src/vim9cmds.c, src/proto/vim9cmds.pro, src/vim9instr.c,
> > src/proto/vim9instr.pro, src/testdir/test_vim9_disassemble.vim,
> > src/testdir/test_messages.vim,
> > src/testdir/dumps/Test_echowindow_8.dump,
> > src/testdir/dumps/Test_echowindow_9.dump
> >
> >
> After this patch mingw64 (gcc 12.2.0) spits out this warning if
> HAS_MESSAGE_WINDOW is not defined:
> <snip>
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -D__USE_MINGW_ANSI_STDIO
> -pipe -march=native -Wall -O3 -fomit-frame-pointer -freg-struct-return
> -fpie -fPIE -DFEAT_GUI_MSWIN -DFEAT_CLIPBOARD vim9compile.c -o
> gobjnative/vim9compile.o
> vim9compile.c:2691:1: warning: 'get_cmd_count' defined but not used
> [-Wunused-function]
> 2691 | get_cmd_count(char_u *line, exarg_T *eap)
> | ^~~~~~~~~~~~~
> </snip>
>
> The attached patch tries to fix it.
Thanks. It was intended as a generic function, but only used in one
place right now.
--
"To whoever finds this note -
I have been imprisoned by my father who wishes me to marry
against my will. Please please please please come and rescue me.
I am in the tall tower of Swamp Castle."
SIR LAUNCELOT's eyes light up with holy inspiration.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221007214848.7505B1C0592%40moolenaar.net.