8000 lua5.4 support? · Issue #3 · hishamhm/subprocess · GitHub
[go: up one dir, main page]

Skip to content

lua5.4 support? #3

Open
Open

Description

@laoshaw

is this still maintained? would be nice if 5.4 is supported:

luarocks --lua-version 5.4 install subprocess
Installing https://luarocks.org/subprocess-0.1-2.src.rock

subprocess 0.1-2 depends on luaposix >= 33.3.1 (36.2.1-1 installed)
gcc -O2 -fPIC -shared -o subprocess/posix/core.so -I/usr/include/lua5.4 subprocess/posix/compat-5.3.c subprocess/posix/close_fds.c subprocess/inheritable.c subprocess/posix/core.c `test -f "/usr/include/sys/syscall.h" && echo -n "-DHAVE_SYS_SYSCALL_H"`
In file included from subprocess/posix/compat-5.3.c:8:
subprocess/posix/compat-5.3.h:343:4: error: #error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
  343 | #  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
      |    ^~~~~
In file included from subprocess/posix/core.c:10:
subprocess/posix/compat-5.3.h:343:4: error: #error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
  343 | #  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
      |    ^~~~~
subprocess/posix/core.c: In function ‘child_exec’:
subprocess/posix/core.c:244:16: warning: ‘return’ with no value, in function returning non-void
  244 |    if (unused) return;  /* silly? yes! avoids gcc compiler warning. */
      |                ^~~~~~
subprocess/posix/core.c:100:5: note: declared here
  100 | int child_exec(char** exec_array, char** argv, char** envp, const char* cwd,
      |     ^~~~~~~~~~
make: *** [Makefile:36: subprocess/posix/core.so] Error 1

Error: Build error: Failed building.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0