Closed jet082 closed 4 years ago
To fix this, comment out the line lua_pushinteger(L, system(luaL_optstring(L, 1, NULL))); in crawl-ref/source/contrib/lua/src/loslib.c
lua_pushinteger(L, system(luaL_optstring(L, 1, NULL)));
crawl-ref/source/contrib/lua/src/loslib.c
Then add this to crawl-ref/Makefile.libretro
crawl-ref/Makefile.libretro
CFLAGS += -Wno-error=implicit-function-declaration
I was directed here from https://github.com/crawl/crawl/issues/1144
Fixed by https://github.com/libretro/crawl-ref/commit/cc2530f377a3a5d686d4b6a360d88b01de0fbc59
To fix this, comment out the line
lua_pushinteger(L, system(luaL_optstring(L, 1, NULL)));
incrawl-ref/source/contrib/lua/src/loslib.c
Then add this to
crawl-ref/Makefile.libretro
I was directed here from https://github.com/crawl/crawl/issues/1144