lua-users home
lua-l archive

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


I don’t think I’ve seen this before, but today I got a warning when reinstalling LFS using LuaRocks. Did something change here?

 

luarocks install luafilesystem

 

Installing https://luarocks.org/luafilesystem-1.6.3-1.src.rock...

Using https://luarocks.org/luafilesystem-1.6.3-1.src.rock... switching to 'build' mode

mingw32-gcc -O2 -c -o src/lfs.o -IC:/Program Files (x86)/Lua/5.1/include/lua/5.1 src/lfs.c

In file included from src/lfs.c:67:0:

src/lfs.h:21:0: warning: "fileno" redefined [enabled by default]

#define fileno(f) (_fileno(f))

^

In file included from src/lfs.c:38:0:

c:\mingw\include\stdio.h:516:0: note: this is the location of the previous definition

#define fileno(__F) ((__F)->_file)

^

mingw32-gcc -shared -o lfs.dll src/lfs.o C:/Program Files (x86)/Lua/5.1/bin/lua51.dll -lm

Updating manifest for C:\Program Files (x86)\LuaRocks\systree/lib/luarocks/rocks

luafilesystem 1.6.3-1 is now built and installed in C:\Program Files (x86)\LuaRocks\systree (license: MIT/X11)

 

 

Thijs