On 17/07/10 17:26, Cesar Romani wrote:
By compiling wim7.3a with MinGW on Win XP I'm getting following error:

--------------------
...
gcc -c ... ex_docmd.c -o gobjZ/ex_docmd.o
In file included from ex_docmd.c:485:0:
ex_cmds.h:574:1: error: 'ex_script_ni' undeclared here (not in a function)
make: *** [gobjZ/ex_docmd.o] Error 1
--------------------

Many thanks in advance,


ex_script_ni is defined at ex_docmd.c line 4120 if HAVE_EX_SCRIPT_NI is defined; it is used at ex_docmd.c lines 135, 252, 257, 261, 265, 269, 274 and 2145. At lines 252-274 it is used if some script interface is not in use, elsewhere it is bracketed by ifdef HAVE_EX_SCRIPT_NI. I suspect that it was forgotten to define HAVE_EX_SCRIPT_NI when the Lua interface is not being used... let me check... indeed: the culprit line is ex_docmd.c lines 132-133 where it was forgotten to add

        || !defined(FEAT_LUA)


Best regards,
Tony.
--
Pascal, n.:
        A programming language named after a man who would turn over in
his grave if he knew about it.

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

Raspunde prin e-mail lui