Patch 8.2.2987

3 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 13, 2021, 8:33:49 AM6/13/21
to vim...@googlegroups.com

Patch 8.2.2987
Problem: Build failure with normal features.
Solution: Remove #define.
Files: src/vim9execute.c


*** ../vim-8.2.2986/src/vim9execute.c 2021-06-13 14:01:22.760396977 +0200
--- src/vim9execute.c 2021-06-13 14:32:04.008005224 +0200
***************
*** 738,750 ****
int error;
int idx;
int did_emsg_before = did_emsg;
#ifdef FEAT_PROFILE
! compiletype_T compile_type = do_profiling == PROF_YES
! && ufunc->uf_profiling ? CT_PROFILE : CT_NONE;
! #else
! # define compile_type CT_NONE
#endif
-
if (func_needs_compiling(ufunc, compile_type)
&& compile_def_function(ufunc, FALSE, compile_type, NULL)
== FAIL)
--- 738,749 ----
int error;
int idx;
int did_emsg_before = did_emsg;
+ compiletype_T compile_type = CT_NONE;
+
#ifdef FEAT_PROFILE
! if (do_profiling == PROF_YES && ufunc->uf_profiling)
! compile_type = CT_PROFILE;
#endif
if (func_needs_compiling(ufunc, compile_type)
&& compile_def_function(ufunc, FALSE, compile_type, NULL)
== FAIL)
*** ../vim-8.2.2986/src/version.c 2021-06-13 14:15:26.522510754 +0200
--- src/version.c 2021-06-13 14:33:07.563843007 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2987,
/**/

--
Westheimer's Discovery:
A couple of months in the laboratory can
frequently save a couple of hours in the library.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages