John Marriott wrote:

> PV_KEY is only defined if FEAT_CRYPT is defined (option.c, line 131).
> This patch adds a test of PV_KEY if FEAT_AUTOCMD and FEAT_EVAL are 
> defined in two places. If FEAT_CRYPT is defined you get this (on windows 
> x64, using gcc 5.1.0 x64):
> 
> option.c:4921:47: error: 'PV_KEY' undeclared (first use in this function)
>      if (!starting && options[opt_idx].indir != PV_KEY
>                                                 ^
> option.c:4921:47: note: each undeclared identifier is reported only once 
> for each function it appears in
> option.c: In function 'set_string_option':
> option.c:5720:45: error: 'PV_KEY' undeclared (first use in this function)
>    if (!starting && options[opt_idx].indir != PV_KEY)
>                                               ^
> gcc -c -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 
> -DHAVE_PATHDEF -DFEAT_BIG -DFEAT_MBYTE -pipe -w -march=nati
> ve -Wall -O3 -fomit-frame-pointer -freg-struct-return -s winclip.c -o 
> objnative/winclip.o
> Make_cyg_ming.mak:781: recipe for target 'objnative/option.o' failed
> make: *** [objnative/option.o] Error 1
> make: *** Waiting for unfinished jobs....

Thanks for reporting, I'll make a patch.

-- 
hundred-and-one symptoms of being an internet addict:
234. You started college as a chemistry major, and walk out four years
     later as an Internet provider.

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