Patch 8.2.2986

3 views
Skip to first unread message

Bram Moolenaar

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

Patch 8.2.2986
Problem: Build failure without the profile feature.
Solution: Add #ifdef.
Files: src/vim9compile.c


*** ../vim-8.2.2985/src/vim9compile.c 2021-06-13 14:01:22.756396984 +0200
--- src/vim9compile.c 2021-06-13 14:14:29.098650395 +0200
***************
*** 1871,1880 ****

switch (compile_type)
{
- case CT_NONE:
- return dfunc->df_instr == NULL;
case CT_PROFILE:
return dfunc->df_instr_prof == NULL;
case CT_DEBUG:
return dfunc->df_instr_debug == NULL;
}
--- 1871,1882 ----

switch (compile_type)
{
case CT_PROFILE:
+ #ifdef FEAT_PROFILE
return dfunc->df_instr_prof == NULL;
+ #endif
+ case CT_NONE:
+ return dfunc->df_instr == NULL;
case CT_DEBUG:
return dfunc->df_instr_debug == NULL;
}
*** ../vim-8.2.2985/src/version.c 2021-06-13 14:01:22.760396977 +0200
--- src/version.c 2021-06-13 14:15:11.694546896 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2986,
/**/

--
Eye have a spelling checker, it came with my PC;
It plainly marks four my revue mistakes I cannot sea.
I've run this poem threw it, I'm sure your please to no,
It's letter perfect in it's weigh, my checker tolled me sew!

/// 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