Loading ...
Sorry, an error occurred while loading the content.

51970Re: (patch) Lua interface : Borland C++ 5.5.1 test

Expand Messages
  • Patrick Texier
    Sep 9, 2008
      On Fri, 5 Sep 2008 13:49:12 -0400, Luis Carvalho wrote:

      > I've also patched the Windows makefiles:
      >
      > http://wiki.linuxfromscratch.org/blfs/attachment/wiki/vim/vim72-lua-mak-0.4.patch.gz

      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

      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

      I had never used lua :-)

      :lua print (12 * 36)
      works, but
      :lua print (0 / 0)
      or
      :lua print (99999999 * 99999999)
      crashes Vim
      --
      Patrick Texier

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    • Show all 28 messages in this topic