On 26-Aug-2015 5:27 AM, Bram Moolenaar wrote:
John Marriott wrote:
On 25-Aug-2015 11:40 PM, Bram Moolenaar wrote:
>
> Patch 7.4.833
> Problem: More side effects of ":set all&" are missing. (Björn Linse)
> Solution: Call didset_options() and add didset_options2() to collect more
> side effects to take care of. Still not everything...
> Files: src/option.c
>
>
This patch fails to compile on Win64 (both gui and not) with FEAT_CRYPT
undefined, like so:
gcc -c -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603
-DHAVE_PATHDEF -DFEAT_BIG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -
DFEAT_MBYTE -pipe -w -march=native -Wall -O3 -fomit-frame-pointer
-freg-struct-return -s gui_w32.c -o gobjnative/gui_w32
.o
option.c: In function 'set_options_default':
option.c:3657:36: error: 'p_cm' undeclared (first use in this function)
&& options[i].var != (char_u *)&p_cm
^
option.c:3657:36: note: each undeclared identifier is reported only once
for each function it appears in
option.c:3658:36: error: 'p_key' undeclared (first use in this function)
&& options[i].var != (char_u *)&p_key)))
^
Make_cyg_ming.mak:781: recipe for target 'gobjnative/option.o' failed
make: *** [gobjnative/option.o] Error 1
make: *** Waiting for unfinished jobs....
Sorry, I'll add an #ifdef
Hey Bram,
After 7.4.838, I can compile without crypt. Thanks.
But after 7.4.830, 7.4.833 and 7.4.838, the compile fails if FEAT_MBYTE
is undefined, like so (non-gui under HP-UX):
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/buffer.o buffer.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/eval.o eval.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/ex_cmds.o ex_cmds.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/ex_cmds2.o ex_cmds2.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/hardcopy.o hardcopy.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/if_xcmdsrv.o
if_xcmdsrv.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/misc1.o misc1.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/misc2.o misc2.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -o objects/option.o option.c
cc: "option.c", line 3656: error 1588: "p_enc" undefined.
cc: "option.c", line 3656: error 1527: Incompatible types in cast: Must
cast from scalar to scalar or to void type.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
--
--
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.