While building Purr Data, the compilation fails due to an incorrect number of arguments passed to the lua_gc function. According to the Lua 5.3 documentation, lua_gc requires three parameters, but the current implementation passes only two.
To Reproduce
Steps to reproduce the behavior:
- Clone the Purr Data repository
- Run
make to build the project
- Observe the compilation error
Expected behavior
The lua_gc function should be called with three parameters as required by Lua 5.3 to avoid compilation errors.
Error Log
pdlua.c: In function ‘pdlua_free’:
pdlua.c:72:5: error: too few arguments to function ‘lua_gc’
lua_gc(L, what);
This suggests that the third parameter (data) is missing in the function call.
Screenshots
[
System Information:
- OS: Ubuntu 22.04
- Purr Data Version: 2.19.4
- Compiler: Default (
make all)
While building Purr Data, the compilation fails due to an incorrect number of arguments passed to the
lua_gcfunction. According to the Lua 5.3 documentation,lua_gcrequires three parameters, but the current implementation passes only two.To Reproduce
Steps to reproduce the behavior:
maketo build the projectExpected behavior
The
lua_gcfunction should be called with three parameters as required by Lua 5.3 to avoid compilation errors.Error Log
This suggests that the third parameter (
data) is missing in the function call.Screenshots
[
System Information:
make all)