lua-users home
lua-l archive

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


On 4 November 2014 15:52, Ką Mykolas <kamicc@gmail.com> wrote:
> And I doubt it's going to be ported. Since 5.3 Lua does have native
> binary operators, so....

...so it should be semi-trivial to write a compatibility layer that
maps to either luabitop or bit32?

-- Hisham

> On 11/4/14, Gary V. Vaughan <gary@vaughan.pe> wrote:
>> Hi Dirk,
>>
>> On 4 Nov 2014, at 17:30, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>>>
>>> 2014-11-04 19:02 GMT+02:00 Gary Vaughan <gary@vaughan.pe>:
>>>
>>>> Install it with LuaRocks, using:
>>>>
>>>>    luarocks install luaposix 33.0.0
>>>
>>> This procedure does not work with Lua 5.3.0-beta.
>>>
>>> Missing dependencies for luaposix:
>>> luabitop >= 1.0.2
>>>
>>> gcc -O2 -fPIC -I/home/dirk/include -c bit.c -o bit.o
>>> bit.c: In function 'barg':
>>> bit.c:83:2: error: #error "Unknown number type, check LUA_NUMBER_* in
>>> luaconf.h"
>>> #error "Unknown number type, check LUA_NUMBER_* in luaconf.h"
>>
>> Like the last several luaposix releases, luabitop is required (for LuaJIT
>> and Lua 5.1), and not yet ported to 5.3. For that matter, neither have I
>> tried to port luaposix to 5.3 yet.
>>
>> Cheers,
>> --
>> Gary V. Vaughan (gary AT vaughan DOT Pe)
>>
>