Does it work with Lua 5.4?
opened this issue · comments
Deleted user commented
Hi! Your code looks quite useful and nice, but it gives funny warnings when compiled with Lua 5.4:
lbuffer.c: In function ‘write_int32’:
lbuffer.c:261:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
261 | case 4: *s++ = (n >> 24) & 0xFF;
| ~~~~~^~~~~~~~~~~~~~~~~~
(and similar repeat over again). Are fallthroughs intended?
Also, it requires LUA_QS
and LUA_QL
, absent in 5.4. I've copied them from Lua 5.2 and it kinda works, but I ask in case an update or some reworking is needed. Thank you in advance.