> In this patch, for Make_bc5.mak, I have found two errors:
> 
> line 42:
> > +INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_LUA 
> > -DDYNAMIC_LUA_DLL=\"lua$(PERL_VER).dll\"
> LUA_VER
> 
> line 90:
> >+    $(LUA_LIB_FLAG)perl.lib+
> lua.lib

Thanks for the report.
 
> I have a warning, using Vim 7.2.13:
> 
> if_lua.c:
> Warning W8065 if_lua.c 998: Call to function 'luaV_newstate' with no
> prototype in function lua_init

That's weird. I haven't seen such a warning in any other compiler...
 
> I had never used lua :-)
> 
> :lua print (12 * 36)
> works, but
> :lua print (0 / 0)
> or
> :lua print (99999999 * 99999999)
> crashes Vim

I couldn't reproduce this behavior, but I don't have Vim compiled with BCC.

In any case, the latest version of the patch that fixes Make_bc5.mak can be
found at:

http://wiki.linuxfromscratch.org/blfs/attachment/wiki/vim/vim72-lua-0.5.patch.gz
http://wiki.linuxfromscratch.org/blfs/attachment/wiki/vim/vim72-lua-mak-0.5.patch.gz

Cheers,
Luis.

-- 
Computers are useless. They can only give you answers.
                -- Pablo Picasso

-- 
Luis Carvalho (Kozure)
lua -e 'print((("[EMAIL PROTECTED]"):gsub("(%u+%.)","")))'

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui