Patch 9.0.0477
Problem:    Missing dependency may cause crashes on incomplete build.
Solution:   Add dependency.
Files:      src/vim9type.c, src/Makefile


*** ../vim-9.0.0476/src/vim9type.c      2022-08-20 12:07:55.098022792 +0100
--- src/vim9type.c      2022-09-16 11:15:45.284343048 +0100
***************
*** 20,25 ****
--- 20,30 ----
  # include <float.h>
  #endif
  
+ // When not generating protos this is included in proto.h
+ #ifdef PROTO
+ # include "vim9.h"
+ #endif
+ 
  /*
   * Allocate memory for a type_T and add the pointer to type_gap, so that it 
can
   * be easily freed later.
*** ../vim-9.0.0476/src/Makefile        2022-08-30 15:05:27.016802522 +0100
--- src/Makefile        2022-09-16 12:26:24.414427190 +0100
***************
*** 4191,4197 ****
   auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
   proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \
   libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
!  globals.h errors.h
  objects/viminfo.o: viminfo.c vim.h protodef.h auto/config.h feature.h 
os_unix.h \
   auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
   proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \
--- 4191,4197 ----
   auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
   proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \
   libvterm/include/vterm_keycodes.h alloc.h ex_cmds.h spell.h proto.h \
!  globals.h errors.h vim9.h
  objects/viminfo.o: viminfo.c vim.h protodef.h auto/config.h feature.h 
os_unix.h \
   auto/osdef.h ascii.h keymap.h termdefs.h macros.h option.h beval.h \
   proto/gui_beval.pro structs.h regexp.h gui.h libvterm/include/vterm.h \
*** ../vim-9.0.0476/src/version.c       2022-09-16 12:10:00.073526252 +0100
--- src/version.c       2022-09-16 12:27:25.186251530 +0100
***************
*** 705,706 ****
--- 705,708 ----
  {   /* Add new patch number below this line */
+ /**/
+     477,
  /**/

-- 
>From "know your smileys":
 !-|    I-am-a-Cylon-Centurian-with-one-red-eye-bouncing-back-and-forth

 /// Bram Moolenaar -- [email protected] -- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220916112942.451A01C082B%40moolenaar.net.

Raspunde prin e-mail lui