x86_64-pc-linux-gnu-gcc -pipe -O2 -march=athlon64-sse3 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic -I/usr/include -c -o src/lfs.o src/lfs.c src/lfs.c: In function ‘lfs_g_setmode’: src/lfs.c:311:47: warning: unused parameter ‘f’ [-Wunused-parameter] src/lfs.c:311:54: warning: unused parameter ‘arg’ [-Wunused-parameter] src/lfs.c: At top level: src/lfs.c:779:30: error: array type has incomplete element type src/lfs.c: In function ‘luaopen_lfs’: src/lfs.c:798:2: warning: implicit declaration of function ‘luaL_register’ [-Wimplicit-function-declaration] src/lfs.c:798:2: warning: nested extern declaration of ‘luaL_register’ [-Wnested-externs] src/lfs.c: At top level: src/lfs.c:779:30: warning: ‘fslib’ defined but not used [-Wunused-variable] make: *** [src/lfs.o] Error 1 Reproducible: Always
Created attachment 323152 [details] build.log
"Current version is 1.6.0. It was developed for Lua 5.1 but also works with Lua 5.2." -- seen on the $HOMEPAGE.
Suggestion: Restrict dependency of lfs 1.5.0 to Lua 5.1 and make Lua 5.2 users use lfs 1.6.2.
Any news on this? It's been a year...
1.6.3 is compatible with lua-5.2