To: vim_dev@googlegroups.com Subject: Patch 8.2.0526 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- 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 ///