lua-users home
lua-l archive

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


I think you are not interested in the results on Windows (built with msvc). I suspect this issue exists from the beginning, but still.

main.lua:38 errors because os.tmpname can't be open in read mode, file doesn't exist.

On Tue, Nov 23, 2021 at 12:15 AM Hartmut Henkel <hartmut_henkel@gmx.de> wrote:
Hi,

with

#define LUA_FLOAT_DEFAULT       LUA_FLOAT_LONGDOUBLE

in luaconf.h i get here

gcc -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE    -c -o ltable.o ltable.c
ltable.c: In function ‘mainposition’:
ltable.c:153:14: note: the ABI of passing union with ‘long double’ has changed in GCC 4.4
  153 | static Node *mainposition (const Table *t, int ktt, const Value kvl) {
      |              ^~~~~~~~~~~~
gcc -std=gnu99 -O2 -Wall -Wextra -DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE    -c -o ltm.o ltm.c

...whatever this might mean. A valid lua binary is generated anyway.

Best Regards, Hartmut