lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Thu, Nov 25, 2010 at 11:49 AM, Axel Kittenberger <> wrote:
> This comes as surprise for me, can someone second that? If true, is
> this a windows only limitation or universal?

It can bite you on any platform, but most often Windows.  Unix dynamic
linking is more delayed and 'dynamic'. So you can statically link in a
library with your Lua 5.2. The trouble happens at runtime when a Lua
5.1 module is brought in, and yells that it can't find some deprecated
API function.  (Which is deliberately made hard, they sit in different
directory trees.)

Nick's problem is that he does not want to control what people do with
his software. So they'll find a Lua 5.1 extension and of course it
won't link or (worse) it will half-work because of the allocator
issues discussed. You get this also with different MS runtimes even
with just Lua 5.1.

steve d.