Ken Takata wrote:

> 2019/5/27 Mon 5:18:15 UTC+9 Bram Moolenaar wrote:
> > Patch 8.1.1406
> > Problem:    popup_hide() and popup_show() not implemented yet.
> > Solution:   Implement the functions.
> > Files:          src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c,
> >             src/structs.h, runtime/doc/popup.txt, src/screen.c, src/vim.h,
> >             src/testdir/test_popupwin.vim
> 
> ...
> 
> > --- 612,621 ----
> >   #define VALID_BOTLINE     0x20    // w_botine and w_empty_rows are valid
> >   #define VALID_BOTLINE_AP 0x40     // w_botine is approximated
> >   #define VALID_TOPLINE     0x80    // w_topline is valid (for cursor 
> > position)
> > ! 
> > ! // Values for w_popup_flags.
> > ! #define PFL_HIDDEN        1       // popup is not displayed
> > ! #define PFL_REDRAWN       2       // popup was just redrawn
> >   
> >   /*
> >    * Terminal highlighting attribute bits.
> 
> The PFL_HIDDEN definition conflicts with the Windows' winsock2 definition:
> 
> https://ci.appveyor.com/project/chrisbra/vim-win32-installer/build/job/9nghy0drxbyiohfp?fullLog=true#L316
> 
> > C:\Program Files (x86)\Microsoft 
> > SDKs\Windows\v7.1A\Include\winsock2.h(985): warning C4005: 'PFL_HIDDEN': 
> > macro redefinition
> > C:\projects\vim-win32-installer\vim\src\vim.h(617): note: see previous 
> > definition of 'PFL_HIDDEN'
> 
> This occurs when if_perl is enabled. (We don't enable if_perl in the vim/vim
> repository on AppVeyor.)

I'll rename the flags.

-- 
Know this story about a nerd who fell into a river and drowned,
despite his cries of "F1! F1!"?

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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/201905270804.x4R84wlt014820%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui