lua-users home
lua-l archive

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


The C89 build mode has been broken since commit
2bfa13e520e53210b96ead88f49a9ca20c5a5d18 (Fri Feb 5 11:00:28 2021 -0300)
due to the unfortunate introduction of two // comments:

// low-level line tracing for debugging Lua
// printf("line: %d\n", luaG_getfuncline(cl->p, pcRel(pc, cl->p)));

resulting in the warning:

lvm.c: In function ‘luaV_execute’:
lvm.c:1159:1: error: C++ style comments are not allowed in ISO C90
 1159 | // low-level line tracing for debugging Lua
      | ^
lvm.c:1159:1: note: (this will be reported only once per input file)

With both lines deleted, the build works fine.


Sincerely,


Olexa Bilaniuk