lua-users home
lua-l archive

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


>I had plans to deploy the same bytecode archives on 32-bit
>and 64-bit platforms, so this potential interoperability
>problems now worries me a bit.

It really depends how your C compiler sets ints and longs.

If your C compiler still sets ints to 32 bits, you'll be fine, unless size_t
is 64. You may have to set LUA_UINT32 to an unsigned 32-bit integral type so
that VM instructions match. Please let us know.
--lhf