On Mon, Jun 18, 2018 at 11:33 PM, Luiz Henrique de Figueiredo wrote:
Lua 5.4.0 (work2) is now available for testing
A warning is displayed while building Lua 5.4 under MinGW64:
gcc -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_BUILD_AS_DLL -c -o loadlib.o loadlib.c
loadlib.c: In function 'lsys_sym':
loadlib.c:209:21: warning: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'int (*)(lua_State *)' {aka 'int (*)(struct lua_State *)'} [-Wcast-function-type]
lua_CFunction f = (lua_CFunction)GetProcAddress((HMODULE)lib, sym);
^