To: vim_dev@googlegroups.com Subject: Patch 8.2.0560 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0560 Problem: Compiler warning in tiny build. Solution: Move declaration inside #ifdef. (Dominique Pelle, closes #5915) Files: src/ex_docmd.c *** ../vim-8.2.0559/src/ex_docmd.c 2020-04-12 19:37:13.510297280 +0200 --- src/ex_docmd.c 2020-04-12 20:00:48.798684111 +0200 *************** *** 647,655 **** # define cmd_cookie cookie #endif static int call_depth = 0; // recursiveness ESTACK_CHECK_DECLARATION - #ifdef FEAT_EVAL // For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory // location for storing error messages to be converted to an exception. // This ensures that the do_errthrow() call in do_one_cmd() does not --- 647,655 ---- # define cmd_cookie cookie #endif static int call_depth = 0; // recursiveness + #ifdef FEAT_EVAL ESTACK_CHECK_DECLARATION // For every pair of do_cmdline()/do_one_cmd() calls, use an extra memory // location for storing error messages to be converted to an exception. // This ensures that the do_errthrow() call in do_one_cmd() does not *************** *** 1295,1301 **** /* * On an interrupt or an aborting error not converted to an exception, * disable the conversion of errors to exceptions. (Interrupts are not ! * converted any more, here.) This enables also the interrupt message * when force_abort is set and did_emsg unset in case of an interrupt * from a finally clause after an error. */ --- 1295,1301 ---- /* * On an interrupt or an aborting error not converted to an exception, * disable the conversion of errors to exceptions. (Interrupts are not ! * converted anymore, here.) This enables also the interrupt message * when force_abort is set and did_emsg unset in case of an interrupt * from a finally clause after an error. */ *** ../vim-8.2.0559/src/version.c 2020-04-12 19:37:13.530297225 +0200 --- src/version.c 2020-04-12 19:58:27.063044420 +0200 *************** *** 740,741 **** --- 740,743 ---- { /* Add new patch number below this line */ + /**/ + 560, /**/ -- A M00se once bit my sister ... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///