Mats Bertil Tegner wrote:

> On 2014-08-23 14:19, Bram Moolenaar wrote:
> >
> > Patch 7.4.415 (after 7.4.414)
> > Problem:    Cannot build.  Warning for shadowed variable. (John Little)
> > Solution:   Add missing change.  Remove declaration.
> > Files:          src/vim.h, src/ex_docmd.c
> >
> >
> > *** ../vim-7.4.414/src/vim.h        2014-08-06 14:52:05.047236174 +0200
> > --- src/vim.h       2014-08-22 20:26:19.522953712 +0200
> > ***************
> > *** 1326,1331 ****
> > --- 1326,1332 ----
> >        EVENT_SHELLFILTERPOST,       /* after ":1,2!cmd", ":w !cmd", ":r 
> > !cmd". */
> >        EVENT_TEXTCHANGED,           /* text was modified */
> >        EVENT_TEXTCHANGEDI,          /* text was modified in Insert mode*/
> > +     EVENT_CMDUNDEFINED,           /* command undefined */
> >        NUM_EVENTS                   /* MUST be the last one */
> >    };
> >
> > *** ../vim-7.4.414/src/ex_docmd.c   2014-08-22 23:05:50.102606614 +0200
> > --- src/ex_docmd.c  2014-08-23 14:11:52.640635039 +0200
> > ***************
> > *** 2150,2158 ****
> >         && ASCII_ISUPPER(*ea.cmd)
> >         && has_cmdundefined())
> >        {
> > -   char_u *p = ea.cmd;
> >     int ret;
> >
> >     while (ASCII_ISALNUM(*p))
> >         ++p;
> >     p = vim_strnsave(ea.cmd, p - ea.cmd);
> > --- 2150,2158 ----
> >         && ASCII_ISUPPER(*ea.cmd)
> >         && has_cmdundefined())
> >        {
> >     int ret;
> >
> > +   p = ea.cmd;
> >     while (ASCII_ISALNUM(*p))
> >         ++p;
> >     p = vim_strnsave(ea.cmd, p - ea.cmd);
> > *** ../vim-7.4.415/src/version.c    2014-08-22 23:05:50.106606614 +0200
> > --- src/version.c   2014-08-23 14:15:50.620626408 +0200
> > ***************
> > *** 743,744 ****
> > --- 743,746 ----
> >    {   /* Add new patch number below this line */
> > + /**/
> > +     415,
> >    /**/
> >
> 
> I just pulled the latest changes via Mercurial and the compilation halts 
> when building with features=huge under Slackware 14.1:
> 
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/buffer.o buffer.c
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/blowfish.o blowfish.c
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/charset.o charset.c
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/crypt.o crypt.c
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/crypt_zip.o crypt_zip.c
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/diff.o diff.c
> gcc -c -I. -Iproto -DHAVE_CONFIG_H     -O2 -fPIC -U_FORTIFY_SOURCE 
> -D_FORTIFY_SOURCE=1       -o objects/digraph.o digraph.c
> In file included from blowfish.c:22:0:
> vim.h:1330:5: fel: omdeklaration av uppräkningstyp ”EVENT_CMDUNDEFINED”
>       EVENT_CMDUNDEFINED,  /* command undefined */
>       ^
> vim.h:1268:5: anm: tidigare definition av ”EVENT_CMDUNDEFINED” var här
>       EVENT_CMDUNDEFINED,  /* on unexistent command */
>       ^

Looks like you locally added the line to fix the build before this patch.


-- 
"I can't complain, but sometimes I still do."   (Joe Walsh)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui