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 -- b...@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    ///

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202106131215.15DCFtxC571310%40masaka.moolenaar.net.

Raspunde prin e-mail lui