Hi John,

On Sat, Sep 21, 2019 at 3:35 PM John Marriott <[email protected]> wrote:
>
> On 22-Sep-2019 04:49, Bram Moolenaar wrote:
> > Patch 8.1.2062
> > Problem:    The mouse code is spread out.
> > Solution:   Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
> >              closes #4959)
> > Files:            Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak,
> >              src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, 
> > src/README.md,
> >              src/auto/configure, src/configure.ac, src/edit.c, 
> > src/ex_cmds.c,
> >              src/ex_docmd.c, src/ex_getln.c, src/insexpand.c,
> >              src/libvterm/src/termmouse.c, src/libvterm/src/mouse.c,
> >              src/main.c, src/message.c, src/misc1.c, src/misc2.c, 
> > src/mouse.c,
> >              src/normal.c, src/proto.h, src/proto/edit.pro,
> >              src/proto/misc1.pro, src/proto/misc2.pro, src/proto/mouse.pro,
> >              src/proto/normal.pro, src/proto/term.pro, src/proto/ui.pro,
> >              src/search.c, src/term.c, src/ui.c, src/vim.h, src/window.c
> >
> >
> >
> After this patch, gcc (mingw64 v9.2.1) throws this warning for a non-GUI
> build:
> gcc -c -I. -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
> -DHAVE_PATHDEF -DFEAT_NORMAL -DHAVE_STDINT_H -pipe -march=native -Wall
> -O3 -fomit-frame-pointer -freg-struct-return mouse.c -o objnative/mouse.o
> mouse.c:18:12: warning: 'get_fpos_of_mouse' declared 'static' but never
> defined [-Wunused-function]
>     18 | static int get_fpos_of_mouse(pos_T *mpos);
>        |            ^~~~~~~~~~~~~~~~~
>

Thanks for reporting the issue. I have created PR 4964 to address this issue.

- Yegappan

-- 
-- 
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/CAAW7x7niLxFQbsCdgNHqgx0buL5gv%3D26%2Bh%3DrGBjnCR5wFZrAeA%40mail.gmail.com.

Raspunde prin e-mail lui