lua-users home
lua-l archive

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


On Tue, Nov 23, 2021 at 9:30 AM Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> #define LUA_FLOAT_DEFAULT       LUA_FLOAT_LONGDOUBLE
>
> [...]
> 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) {
>       |              ^~~~~~~~~~~~

Thanks for the feedback. I could understand such a warning for an
extern function, but this one is static. What version of gcc are you
using?

FWIW, I get no compilation warnings with either gcc 11.2 or clang 11.1 on Debian testing when running `make linux-readline`.