Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Lua5.3 ? #32

Open
rubbyzhang opened this issue May 4, 2017 · 1 comment
Open

support Lua5.3 ? #32

rubbyzhang opened this issue May 4, 2017 · 1 comment

Comments

@rubbyzhang
Copy link

1 will update my project to lua5.3 , 5.3 support 64 bit integer defaultly. so , do i need to change something in pb-lua for better compatibility ?

@daurnimator
Copy link

daurnimator commented Mar 5, 2018

The reliance on luabitop causes an issue installing with luarocks configured for 5.3:

$ sudo luarocks install https://raw.githubusercontent.com/Neopallium/lua-pb/master/lua-pb-scm-0.rockspec
Missing dependencies for lua-pb scm-0:
   luabitop >= 1.0.1 (not installed)
   struct >= 1.2 (not installed)

lua-pb scm-0 depends on luabitop >= 1.0.1 (not installed)
Installing https://luarocks.org/luabitop-1.0.2-1.src.rock
gcc -O2 -fPIC -I/usr/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"
  ^~~~~

Error: Failed installing dependency: https://luarocks.org/luabitop-1.0.2-1.src.rock - Build error: Failed compiling object bit.o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants