Skip to content

Commit 1c321dc

Browse files
committed
patch 8.1.0866: build file dependencies are outdated
Problem: Build file dependencies are outdated. (John Little) Solution: Run "make proto" and "make depend".
1 parent 895d966 commit 1c321dc

5 files changed

Lines changed: 21 additions & 16 deletions

File tree

src/Makefile

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -472,11 +472,8 @@ CClink = $(CC)
472472
# Uncomment this when you want to include the Cscope interface.
473473
#CONF_OPT_CSCOPE = --enable-cscope
474474

475-
# WORKSHOP - Sun Visual Workshop interface. Only works with Motif!
476-
#CONF_OPT_WORKSHOP = --enable-workshop
477-
478475
# NETBEANS - NetBeans interface. Only works with Motif, GTK, and gnome.
479-
# Motif version must have XPM libraries (see |workshop-xpm|).
476+
# Motif version must have XPM libraries (see |netbeans-xpm|).
480477
# Uncomment this when you do not want the netbeans interface.
481478
#CONF_OPT_NETBEANS = --disable-netbeans
482479

@@ -610,6 +607,8 @@ CClink = $(CC)
610607
#CFLAGS = -g -O2 '-DSTARTUPTIME="vimstartup"' -fno-strength-reduce -Wall -Wmissing-prototypes
611608

612609
# Use this with GCC to check for mistakes, unused arguments, etc.
610+
# Note: If you use -Wextra and get warnings in GTK code about function
611+
# parameters, you can add -Wno-cast-function-type
613612
#CFLAGS = -g -Wall -Wextra -Wshadow -Wmissing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
614613
# Add -Wpedantic to find // comments and other C99 constructs.
615614
# Better disable Perl and Python to avoid a lot of warnings.
@@ -3388,10 +3387,10 @@ objects/arabic.o: arabic.c vim.h protodef.h auto/config.h feature.h os_unix.h \
33883387
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
33893388
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
33903389
proto.h globals.h farsi.h arabic.h
3391-
objects/autocmd.o: autocmd.c vim.h protodef.h auto/config.h feature.h \
3392-
auto/osdef.h os_unix.h os_mac.h ascii.h keymap.h term.h macros.h option.h beval.h \
3393-
structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h proto.h globals.h \
3394-
farsi.h arabic.h
3390+
objects/autocmd.o: autocmd.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3391+
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3392+
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3393+
proto.h globals.h farsi.h arabic.h
33953394
objects/beval.o: beval.c vim.h protodef.h auto/config.h feature.h os_unix.h \
33963395
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
33973396
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
@@ -3497,9 +3496,9 @@ objects/if_xcmdsrv.o: if_xcmdsrv.c vim.h protodef.h auto/config.h feature.h \
34973496
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
34983497
proto.h globals.h farsi.h arabic.h version.h
34993498
objects/indent.o: indent.c vim.h protodef.h auto/config.h feature.h os_unix.h \
3500-
os_mac.h ascii.h keymap.h term.h macros.h option.h beval.h structs.h \
3501-
regexp.h gui.h alloc.h ex_cmds.h spell.h proto.h globals.h farsi.h \
3502-
arabic.h
3499+
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
3500+
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
3501+
proto.h globals.h farsi.h arabic.h
35033502
objects/json.o: json.c vim.h protodef.h auto/config.h feature.h os_unix.h \
35043503
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
35053504
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \

src/proto/gui_w32.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ int gui_mch_maximized(void);
5858
void gui_mch_newfont(void);
5959
void gui_mch_settitle(char_u *title, char_u *icon);
6060
void mch_set_mouse_shape(int shape);
61-
char_u *gui_mch_browsedir(char_u *title, char_u *initdir);
6261
char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter);
62+
char_u *gui_mch_browsedir(char_u *title, char_u *initdir);
6363
int get_cmd_args(char *prog, char *cmdline, char ***argvp, char **tofree);
6464
void gui_mch_set_parent(char *title);
6565
void gui_mch_prepare(int *argc, char **argv);

src/proto/sign.pro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ void sign_mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_a
1111
int sign_define_by_name(char_u *name, char_u *icon, char_u *linehl, char_u *text, char_u *texthl);
1212
int sign_undefine_by_name(char_u *name);
1313
int sign_place(int *sign_id, char_u *sign_group, char_u *sign_name, buf_T *buf, linenr_T lnum, int prio);
14-
linenr_T sign_jump(int sign_id, char_u *sign_group, buf_T *buf);
1514
int sign_unplace(int sign_id, char_u *sign_group, buf_T *buf, linenr_T atlnum);
15+
linenr_T sign_jump(int sign_id, char_u *sign_group, buf_T *buf);
1616
void ex_sign(exarg_T *eap);
1717
void sign_getlist(char_u *name, list_T *retlist);
1818
void get_buffer_signs(buf_T *buf, list_T *l);
@@ -24,3 +24,4 @@ void *sign_get_image(int typenr);
2424
void free_signs(void);
2525
char_u *get_sign_name(expand_T *xp, int idx);
2626
void set_context_in_sign_cmd(expand_T *xp, char_u *arg);
27+
/* vim: set ft=c : */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
866,
786788
/**/
787789
865,
788790
/**/

src/vim.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,15 @@
260260
# define SUN_SYSTEM
261261
#endif
262262

263-
/* if we're compiling in C++ (currently only KVim), the system
263+
/* If we're compiling in C++ (currently only KVim), the system
264264
* headers must have the correct prototypes or nothing will build.
265-
* conversely, our prototypes might clash due to throw() specifiers and
265+
* Conversely, our prototypes might clash due to throw() specifiers and
266266
* cause compilation failures even though the headers are correct. For
267267
* a concrete example, gcc-3.2 enforces exception specifications, and
268268
* glibc-2.2.5 has them in their system headers.
269269
*/
270270
#if !defined(__cplusplus) && defined(UNIX) \
271-
&& !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
271+
&& !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
272272
# include "auto/osdef.h" /* bring missing declarations in */
273273
#endif
274274

@@ -2583,6 +2583,9 @@ long elapsed(struct timeval *start_tv);
25832583
# define ELAPSED_TICKCOUNT
25842584
# define ELAPSED_INIT(v) v = GetTickCount()
25852585
# define ELAPSED_FUNC(v) elapsed(v)
2586+
# ifdef PROTO
2587+
typedef int DWORD;
2588+
# endif
25862589
typedef DWORD elapsed_T;
25872590
# ifndef PROTO
25882591
long elapsed(DWORD start_tick);

0 commit comments

Comments
 (0)