Patch 8.2.0526
Problem:    Gcc 9 complains about empty statement.
Solution:   Add {}. (Dominique Pelle, closes #5894)
Files:      src/evalfunc.c


*** ../vim-8.2.0525/src/evalfunc.c      2020-04-06 22:12:57.137652853 +0200
--- src/evalfunc.c      2020-04-07 19:55:51.727503768 +0200
***************
*** 4561,4567 ****
      if (x == TRUE && n == FALSE)
      {
        if (0)
!           ;
  #if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN)
        else if (STRICMP(name, "balloon_multiline") == 0)
            n = multiline_balloon_available();
--- 4561,4569 ----
      if (x == TRUE && n == FALSE)
      {
        if (0)
!       {
!           // intentionally empty
!       }
  #if defined(FEAT_BEVAL) && defined(FEAT_GUI_MSWIN)
        else if (STRICMP(name, "balloon_multiline") == 0)
            n = multiline_balloon_available();
*** ../vim-8.2.0525/src/version.c       2020-04-06 23:49:46.343388190 +0200
--- src/version.c       2020-04-07 19:56:56.927300453 +0200
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     526,
  /**/

-- 
So when I saw the post to comp.editors, I rushed over to the FTP site to
grab it.  So I yank apart the tarball, light x candles, where x= the
vim version multiplied by the md5sum of the source divided by the MAC of
my NIC (8A3FA78155A8A1D346C3C4A), put on black robes, dim the lights,
wave a dead chicken over the hard drive, and summon the power of GNU GCC
with the magic words "make config ; make!".
                [Jason Spence, compiling Vim 5.0]

 /// 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/202004071758.037HwjJY029287%40masaka.moolenaar.net.

Raspunde prin e-mail lui