Cesar Romani wrote:

> On 09/01/2016 08:58 a.m., Bram Moolenaar wrote:
>  >
>  > Patch 7.4.1065
>  > Problem:    Cannot use the "dll" options on MS-Windows.
>  > Solution:   Support the options on all platforms.  Use the built-in name as
>  >              the default, so that it's clear what Vim is looking for.
>  > Files:      src/if_python.c, src/if_python3.c, src/if_lua.c, 
> src/if_perl.xs,
>  >              src/if_ruby.c, src/option.c, runtime/doc/options.txt, 
> src/Makefile
>  >
> 
> I'm getting this:
> 
> --------------------
> [...]
> option.c:2134:19: error: 'DYNAMIC_PYTHON3_DLL' undeclared here (not in a 
> function)
>          {(char_u *)DYNAMIC_PYTHON3_DLL, (char_u *)0L}
>                     ^
> option.c:2140:19: error: 'DYNAMIC_PYTHON_DLL' undeclared here (not in a 
> function)
>          {(char_u *)DYNAMIC_PYTHON_DLL, (char_u *)0L}
>                     ^
> make: *** [gobjZi686/option.o] Error 1
> Error by compiling gvim.exe
> --------------------
> 
> I'm building vim on Windows Home using MinGW, python 2.7.8, and python3
> 3.2.2

You are probably using Make_cyg_ming.mak.  I can see that the -D
arguments are only used when building the interfaces.  Like it was on
Unix.

Since for Perl and others the flags are added to CFLAGS, we can do that
for Python too.  I'll make a patch.

-- 
SIGIRO -- irony detected (iron core dumped)

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