52004Re: (patch) Lua interface : Borland C++ 5.5.1 test
- Sep 10 7:06 PM
> In this patch, for Make_bc5.mak, I have found two errors:Thanks for the report.
> line 42:
> > +INTERP_DEFINES = $(INTERP_DEFINES) -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua$(PERL_VER).dll\"
> line 90:
> >+ $(LUA_LIB_FLAG)perl.lib+
> I have a warning, using Vim 7.2.13:That's weird. I haven't seen such a warning in any other compiler...
> Warning W8065 if_lua.c 998: Call to function 'luaV_newstate' with no
> prototype in function lua_init
> I had never used lua :-)I couldn't reproduce this behavior, but I don't have Vim compiled with BCC.
> :lua print (12 * 36)
> works, but
> :lua print (0 / 0)
> :lua print (99999999 * 99999999)
> crashes Vim
In any case, the latest version of the patch that fixes Make_bc5.mak can be
Computers are useless. They can only give you answers.
-- Pablo Picasso
Luis Carvalho (Kozure)
lua -e 'print((("lexcarvalho@..."):gsub("(%u+%.)","")))'
- << Previous post in topic Next post in topic >>